now-completions

1.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i now-completions

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

10.8 kB

Total Files

16

Last publish

Collaborators

  • mklabs