UNPKG
ghinfo
Version:
latest (4.0.1)
4.0.1
4.0.0
3.0.13
3.0.12
3.0.11
3.0.9
3.0.8
3.0.7
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.0.3
2.0.2
2.0.1
2.0.0
1.0.8
1.0.6
1.0.5
CLI util for generating a GitHub project information file
github.com/keindev/ghinfo
keindev/ghinfo
ghinfo
/
lib
/
cli
/
bin.js
6 lines
(5 loc)
•
242 B
JavaScript
View Raw
1
2
3
4
5
6
import
yargs
from
'yargs'
;
import
{ hideBin }
from
'yargs/helpers'
;
import
{ command }
from
'./commands/generate.js'
;
const
argv =
yargs
(
hideBin
(process.
argv
)); argv.
command
(command).
demandCommand
().
wrap
(argv.
terminalWidth
()).
help
().
parse
();