shes
v1.0.2
Published
shell commands examples and snippets
Downloads
13
Readme
shes
shell commands examples and snippets
Usage
$ npm install -g shes
$ shes COMMAND
running command...
$ shes (-v|--version|version)
shes/1.0.2 darwin-x64 node-v12.13.0
$ shes --help [COMMAND]
USAGE
$ shes COMMAND
...
Commands
shes cmd SEARCHTEXT
search [text] and output as cmd
USAGE
$ shes cmd SEARCHTEXT
OPTIONS
-f, --field=title|desc|code [default: title,desc,code] search field
-h, --help show CLI help
-o, --output=(example|cmd|script) [default: cmd] output type
ALIASES
$ shes c
EXAMPLE
$ shes cmd find
Find files by filename
find . -type f -name '*.ts'
See code: src/commands/cmd.ts
shes data SUBARG
data source
USAGE
$ shes data SUBARG
ARGUMENTS
SUBARG (update) sub argument:
update: update repo data
OPTIONS
-h, --help show CLI help
EXAMPLE
$ shes data update
See code: src/commands/data.ts
shes help [COMMAND]
display help for shes
USAGE
$ shes help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
shes script SEARCHTEXT
search [text] and output as script
USAGE
$ shes script SEARCHTEXT
OPTIONS
-f, --field=title|desc|code [default: title,desc,code] search field
-h, --help show CLI help
-o, --output=(example|cmd|script) [default: script] output type
ALIASES
$ shes e
EXAMPLE
$ shes script find
Find files by filename
Find files by dirname
See code: src/commands/script.ts
shes search SEARCHTEXT
search [text]
USAGE
$ shes search SEARCHTEXT
OPTIONS
-f, --field=title|desc|code [default: title,desc,code] search field
-h, --help show CLI help
-o, --output=(example|cmd|script) [default: example] output type
ALIASES
$ shes s
EXAMPLE
$ shes search find
Find files by filename
find . -type f -name '*.ts'
See code: src/commands/search.ts