shes
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

shes

shell commands examples and snippets

oclif Version Codecov Downloads/week License

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

Readme

Keywords

Package Sidebar

Install

npm i shes

Weekly Downloads

5

Version

1.0.2

License

MIT

Unpacked Size

30.6 kB

Total Files

23

Last publish

Collaborators

  • soraliu