FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
adminforth/adminforth/commands/cli.js at bugfix/unsuitable-type · devforth/adminforth · GitHub
devforth
adminforth
Repository navigation
Code
Issues
16
(16)
Pull requests
4
(4)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
adminforth
/
adminforth
/
commands
/
cli.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
18 lines (15 loc) · 382 Bytes
Breadcrumbs
adminforth
/
adminforth
/
commands
/
cli.js
Copy path
File metadata and controls
executable file
·
18 lines (15 loc) · 382 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
#!/usr/bin/env node
const
args
=
process
.
argv
.
slice
(
2
)
;
const
command
=
args
[
0
]
;
import
generateModels
from
"./generateModels.js"
;
import
bundle
from
"./bundle.js"
;
switch
(
command
)
{
case
"generate-models"
:
generateModels
(
)
;
break
;
case
"bundle"
:
bundle
(
)
;
break
;
default
:
console
.
log
(
"Unknown command. Available commands: generate-models, bundle"
)
;
}
Back
|
FazBrowse Home
|
New Git URL