1.4.6 • Published 8 years ago
new-tools v1.4.6
new-tools
A Node Command Line Tool to auto generate a web structure.
and also a tutorial to learn how to make a Node Command.learn from http://www.awesomes.cn/source/12
Change place
Use regular expression to get the structure file path prompts an error and solve the problem by changing the path.
Options:
var arr = __dirname;
var rot = arr.split('\\');
rot.splice(rot.length-1,1);
var dir = rot.join('\/');
console.log(dir);
Install
npm install new-tools -g
Usage
copdel <project name>
Then
cd <project name>
npm install
gulp watch
Now you can develop your app...
Options
Usage: copdel [options] [project name]
Options:
-h, --help output usage information
-V, --version output the version number
-W, --without <str | array> generate project without some models(value can be `sass`、`coffee`、`jade`)
You can use -W
to without some models,like sass
、coffee
or jade
:
copdel demo --without sass,jade
1.4.6
8 years ago
1.4.5
8 years ago
1.4.4
8 years ago
1.4.3
8 years ago
1.4.2
8 years ago
1.4.1
8 years ago
1.4.0
8 years ago
1.3.9
8 years ago
1.3.8
8 years ago
1.3.7
8 years ago
1.3.6
8 years ago
1.3.5
8 years ago
1.3.4
8 years ago
1.3.3
8 years ago
1.3.2
8 years ago
1.3.1
8 years ago
1.3.0
8 years ago
1.2.9
8 years ago
1.2.8
8 years ago
1.2.7
8 years ago
1.2.6
8 years ago
1.2.5
8 years ago
1.2.4
8 years ago
1.2.3
8 years ago
1.2.2
8 years ago
1.2.1
8 years ago
1.2.0
8 years ago
1.1.9
8 years ago
1.1.8
8 years ago
1.1.7
8 years ago
1.1.6
8 years ago
1.1.5
8 years ago
1.1.4
8 years ago
1.1.3
8 years ago
1.1.2
8 years ago
1.0.0
8 years ago