UNPKG
flipcli
Version:
latest (0.0.7)
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
flipcli creation, minimal, powerful.
github.com/fliphub/fliphub
fliphub/fliphub
flipcli
/
example
/
wip
/
play
/
index.js
15 lines
(11 loc)
•
216 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
const
vorpal =
require
(
'vorpal'
)
const
program =
vorpal
() program .
command
(
'foo'
,
'Outputs "bar"'
) .
action
(
(
args, callback
) =>
{
this
.
log
(
'bar'
)
callback
() }) program .
delimiter
(
'app $'
) .
show
()