UNPKG
hzw-init
Version:
latest (1.2.1)
1.2.1
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
Init react project helper tools.
github.com/hanangjie/hzw-init
hanangjie/hzw-init
hzw-init
/
bin
/
hzw-init.js
14 lines
(10 loc)
•
259 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env node
'use strict'
;
const
co =
require
(
'co'
);
const
Command
=
require
(
'..'
);
co
(
function
* () {
yield
new
Command
().
run
(process.
cwd
(), process.
argv
.
slice
(
2
)); }).
catch
(
err
=>
{
console
.
error
(err.
stack
); process.
exit
(
1
); });