New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

wct

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wct

custom commander

latest
Source
npmnpm
Version
2.4.6
Version published
Maintainers
1
Created
Source

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

});

}

Keywords

commander

FAQs

Package last updated on 15 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts