wct
custom commander
Last updated a year ago by kog-7 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install wct 
SYNC missed versions from official npm registry.

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

});

}

Current Tags

  • 2.4.6                                ...           latest (a year ago)

42 Versions

  • 2.4.6                                ...           a year ago
  • 2.4.5                                ...           a year ago
  • 2.4.4                                ...           a year ago
  • 2.4.3                                ...           a year ago
  • 2.4.2                                ...           a year ago
  • 2.4.1                                ...           a year ago
  • 2.4.0                                ...           a year ago
  • 2.3.2                                ...           a year ago
  • 2.3.9                                ...           2 years ago
  • 2.3.8                                ...           2 years ago
  • 2.3.7                                ...           2 years ago
  • 2.3.6                                ...           2 years ago
  • 2.3.5                                ...           2 years ago
  • 2.3.1                                ...           2 years ago
  • 2.3.0                                ...           2 years ago
  • 2.2.21                                ...           2 years ago
  • 2.2.19                                ...           2 years ago
  • 2.2.18                                ...           2 years ago
  • 2.2.17                                ...           2 years ago
  • 2.2.16                                ...           2 years ago
  • 2.2.15                                ...           2 years ago
  • 2.2.12                                ...           2 years ago
  • 2.2.11                                ...           2 years ago
  • 2.2.9                                ...           2 years ago
  • 2.2.8                                ...           2 years ago
  • 2.2.6                                ...           2 years ago
  • 2.2.5                                ...           2 years ago
  • 2.2.4                                ...           2 years ago
  • 2.2.3                                ...           2 years ago
  • 2.2.2                                ...           2 years ago
  • 2.2.1                                ...           2 years ago
  • 2.2.0                                ...           2 years ago
  • 2.1.3                                ...           2 years ago
  • 2.1.2                                ...           2 years ago
  • 2.1.1                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.7                                ...           2 years ago
  • 2.0.5                                ...           2 years ago
  • 2.0.4                                ...           2 years ago
  • 2.0.3                                ...           2 years ago
  • 2.0.2 [deprecated]           ...           2 years ago
  • 2.0.1 [deprecated]           ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 47
Dependencies (8)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |