1.0.3 • Published 5 years ago

cty-cli v1.0.3

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

cty-cli

some simple gadget

  • cleanup all the specified directory from one process.cwd(), such as remove all node_modules which belong to ProjectA
  • cleanup vscode`s files which remained after remove vcode on MacOs
  • copy ip address

Install

$ npm i cty-cli -g

Usage

$ cty clean # remove node_moduls by default
$ cty clean -d node_modules 
$ cty clean -d node_modules -force # rm -rf node_modules
$ cty clean -d node_modules -f # rm -rf node_modules
$ cty cleanvscode
$ cty cleanvscode -force # rm -rf
$ cty cleanvscode -f # rm -rf
$ cty cleanvs -force # rm -rf
$ cty cleanvs -f # rm -rf
$ cty cphost
IP Address: 192.168.0.7