README
@bchatard/mytools
My daily tools (init, upgrade etc)
Usage
$ npm install -g @bchatard/mytools
$ mytools COMMAND
running command...
$ mytools (-v|--version|version)
@bchatard/mytools/0.0.1-alpha.4 darwin-x64 node-v10.9.0
$ mytools --help [COMMAND]
USAGE
$ mytools COMMAND
...
Commands
mytools brew:cask-upgrademytools help [COMMAND]mytools hosts:add IP HOSTSmytools hosts:buildmytools hosts:del
mytools brew:cask-upgrade
Upgrade brew casks
USAGE
$ mytools brew:cask-upgrade
OPTIONS
--help show CLI help
--verbose verbose mode
See code: src/commands/brew/cask-upgrade.ts
mytools help [COMMAND]
display help for mytools
USAGE
$ mytools help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
mytools hosts:add IP HOSTS
Add new entry to your hosts configuration file
USAGE
$ mytools hosts:add IP HOSTS
ARGUMENTS
IP Server IP
HOSTS Server Name / Domain (multiple separate by , (comma))
OPTIONS
--help show CLI help
--order=order [default: 1] order section (organize your hosts)
--section=section [default: global] hosts section (organize your hosts)
--verbose verbose mode
See code: src/commands/hosts/add.ts
mytools hosts:build
Update the hosts file (and backup previous one)
USAGE
$ mytools hosts:build
OPTIONS
--dry-run do not build hosts
--help show CLI help
--verbose verbose mode
See code: src/commands/hosts/build.ts
mytools hosts:del
Delete entry to your hosts configuration file
USAGE
$ mytools hosts:del
OPTIONS
--help show CLI help
--hosts=hosts server name / domain
--ip=ip server IP
--section=section [default: global] hosts section (organize your hosts)
--verbose verbose mode
See code: src/commands/hosts/del.ts