1.0.2 • Published 6 years ago

now-completions v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

now-completions

Tabtab completion handler for now-cli.


now-completions

Installation

npm install now-completions -g
now-completions install

Then choose the SHELL for which you want to enable the completions for.

Supported commands

Fow now, only a subset of commands have "intelligent" completion:

  • now (the top level command)
  • ls | list
  • log | logs
  • inspect

Some commands (such as ls, inspect and logs) make use of now API to get back namely the list of deployments.

Make sure that now who you are by running now login once before completing with these commands.

It indeed uses the token stored in auth.json. You can check how by looking at lib/request.js and lib/auth.js files.

Next commands

Pretty much all now.sh commands, with a bit more work. If you feel like a command is missing or would like to enhance an existing one, PRs are welcome and appreciated!


MIT | CHANGELOG