UNPKG
gerco
Version:
latest (0.1.2)
0.1.2
0.1.1
0.1.0
Easy way to generate the React component
github.com/WisestKAA/gerco
WisestKAA/gerco
gerco
/
lib
/
index.js
10 lines
(8 loc)
•
262 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
const
yargs =
require
(
'yargs'
);
const
test
= (
) => {
console
.
log
(
'in lib'
) yargs.
command
(
'hello [name]'
,
'test yargs'
,
yargs
=>
{
return
yargs.
positional
(
'name'
, {
describe
:
'Your name'
}) },
argv
=>
{
console
.
log
(argv) }) };
module
.
exports
= test;