2.4.6 • Published 7 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
7 years ago
2.4.5
7 years ago
2.4.4
7 years ago
2.4.3
7 years ago
2.4.2
7 years ago
2.4.1
7 years ago
2.4.0
7 years ago
2.3.2
7 years ago
2.3.9
7 years ago
2.3.8
7 years ago
2.3.7
7 years ago
2.3.6
7 years ago
2.3.5
7 years ago
2.3.1
7 years ago
2.3.0
7 years ago
2.2.21
7 years ago
2.2.19
7 years ago
2.2.18
7 years ago
2.2.17
7 years ago
2.2.16
7 years ago
2.2.15
7 years ago
2.2.12
7 years ago
2.2.11
7 years ago
2.2.10
7 years ago
2.2.9
7 years ago
2.2.8
7 years ago
2.2.6
7 years ago
2.2.5
7 years ago
2.2.4
7 years ago
2.2.3
7 years ago
2.2.2
7 years ago
2.2.1
7 years ago
2.2.0
7 years ago
2.1.3
7 years ago
2.1.2
7 years ago
2.1.1
7 years ago
2.1.0
7 years ago
2.0.7
7 years ago
2.0.5
7 years ago
2.0.4
7 years ago
2.0.3
7 years ago
2.0.2
7 years ago
2.0.1
7 years ago
1.0.4
9 years ago
1.0.3
9 years ago
1.0.2
9 years ago
1.0.1
9 years ago
1.0.0
9 years ago