2.4.6 • Published 5 years ago
wct v2.4.6
wct
custom commands && store commands && run commands in your work
Installation
npm install wct -g
example
//where the cmds store
wct config ./somedir
//see config
wct where
//subscribe task,-o config custom cmd option ,-d config cmd source dir(if have package.json,will install dependencies auto),-f config cmd source file.
wct sub rm -o exclude="remove exclude dir",include //use current cwd directory path
wct sub rm ./remove exclude="remove ..",include //use special directory path
//run task
wct rm ./test --exclude node_modules //use --exclude or -e, -e node_modules,cache
//help
wct --help
task file
module.exports=function(args,options){ //args:string[],options.exclude:string[]
return new Promise((resolve,reject)=>{
// detail task
});
}
2.4.6
5 years ago
2.4.5
5 years ago
2.4.4
5 years ago
2.4.3
5 years ago
2.4.2
5 years ago
2.4.1
5 years ago
2.4.0
5 years ago
2.3.2
5 years ago
2.3.9
5 years ago
2.3.8
5 years ago
2.3.7
5 years ago
2.3.6
5 years ago
2.3.5
5 years ago
2.3.1
5 years ago
2.3.0
5 years ago
2.2.21
6 years ago
2.2.19
6 years ago
2.2.18
6 years ago
2.2.17
6 years ago
2.2.16
6 years ago
2.2.15
6 years ago
2.2.12
6 years ago
2.2.11
6 years ago
2.2.10
6 years ago
2.2.9
6 years ago
2.2.8
6 years ago
2.2.6
6 years ago
2.2.5
6 years ago
2.2.4
6 years ago
2.2.3
6 years ago
2.2.2
6 years ago
2.2.1
6 years ago
2.2.0
6 years ago
2.1.3
6 years ago
2.1.2
6 years ago
2.1.1
6 years ago
2.1.0
6 years ago
2.0.7
6 years ago
2.0.5
6 years ago
2.0.4
6 years ago
2.0.3
6 years ago
2.0.2
6 years ago
2.0.1
6 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago