Skip to content

beaussan/nbx

Repository files navigation

nbx

My own personal cli

oclif Version CircleCI Codecov Downloads/week License

All Contributors

Usage

$ npm install -g @beaussan/nbx
$ nbx COMMAND
running command...
$ nbx (-v|--version|version)
@beaussan/nbx/2.7.0 linux-x64 node-v14.16.0
$ nbx --help [COMMAND]
USAGE
  $ nbx COMMAND
...

Commands

nbx add:dep DEP

proxy to yarn add, plus gitmoji commit

USAGE
  $ nbx add:dep DEP

ARGUMENTS
  DEP  The dependency to install

OPTIONS
  -D, --dev       install as a dev dependency
  -h, --help      show CLI help
  -v, --verbose   Verbose output
  --[no-]spinner  Enable spinner in cli output, true by default

EXAMPLES
  $ nbx add:dep -D eslint
  $ nbx add:dep --dev eslint
  $ nbx add:dep chalk

See code: src/commands/add/dep.ts

nbx add:prettier

add prettier to project and format it

USAGE
  $ nbx add:prettier

OPTIONS
  -h, --help      show CLI help
  -l, --onlyLint  only install for linters
  -v, --verbose   Verbose output
  --[no-]spinner  Enable spinner in cli output, true by default

See code: src/commands/add/prettier.ts

nbx add:tailwind

add tailwindcss to a project

USAGE
  $ nbx add:tailwind

OPTIONS
  -h, --help      show CLI help
  -v, --verbose   Verbose output
  --[no-]spinner  Enable spinner in cli output, true by default

See code: src/commands/add/tailwind.ts

nbx help [COMMAND]

display help for nbx

USAGE
  $ nbx help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

nbx wall TERMS

download a wallpaper from wallhaven using search

USAGE
  $ nbx wall TERMS

ARGUMENTS
  TERMS  The search terms for the wallpaper

OPTIONS
  -a, --anime          Enable anime category
  -f, --force          Override the file if found
  -g, --general        Enable general category
  -h, --help           show CLI help
  -o, --output=output  Output for the wallpaper
  -p, --people         Enable people category
  -r, --random         Pick one randomly
  -s, --sketchy        Enables sketchy search
  -v, --verbose        Verbose output
  --[no-]spinner       Enable spinner in cli output, true by default

EXAMPLE
  $ nbx wall -r "cat" -o "wall.jpg" -fg

See code: src/commands/wall/index.ts

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Nicolas Beaussart

💻 🤔 ⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!