FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
ionic-cli/packages/cli-scripts/src/index.ts at fix/https-option · reslear/ionic-cli · GitHub
reslear
ionic-cli
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
ionic-cli
/
packages
/
cli-scripts
/
src
/
index.ts
Copy path
More file actions
More file actions
Latest commit
History
History
History
24 lines (19 loc) · 556 Bytes
Breadcrumbs
ionic-cli
/
packages
/
cli-scripts
/
src
/
index.ts
Copy path
File metadata and controls
24 lines (19 loc) · 556 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import
{
CommandMap
,
Namespace
,
execute
}
from
'@ionic/cli-framework'
;
import
{
DocsCommand
}
from
'./docs'
;
class
CLIScriptsNamespace
extends
Namespace
{
async
getMetadata
(
)
{
return
{
name
:
'ionic-cli-scripts'
,
summary
:
''
,
}
;
}
async
getCommands
(
)
:
Promise
<
CommandMap
>
{
return
new
CommandMap
(
[
[
'docs'
,
async
(
)
=>
new
DocsCommand
(
this
)
]
,
]
)
;
}
}
const
namespace
=
new
CLIScriptsNamespace
(
)
;
export
async
function
run
(
argv
:
string
[
]
,
env
:
NodeJS
.
ProcessEnv
)
{
await
execute
(
{
namespace
,
argv
,
env
}
)
;
}
Back
|
FazBrowse Home
|
New Git URL