Switch from `commander` to `inquirer`
See original GitHub issueGive autocompletion for `clasp commands.
- List commands
clasp <tab>
- Give options when choosing environments. Like select shell or inquirer.
Vorpal seems to be based on commander
and provides these features.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Inquirer.js
A collection of common interactive command line user interfaces. ... Start using inquirer in your project by running `npm i inquirer`.
Read more >How To Create Interactive Command-line Prompts with ...
Learn how to add interactive command-line prompts to your Node.js scripts using the Inquirer.js npm package.
Read more >How to use the Inquirer Node package
Inquirer is an NPM package that provides an easy way to capture user input in your Node.js command line interface applications. It provides...
Read more >How to use the inquirer.prompt function in inquirer
To help you get started, we've selected a few inquirer.prompt examples, ... switch (data.mode) { case 'API': packAPI(); break; case 'Web': packWeb(); break; ......
Read more >Building a Custom Boilerplate CLI with Inquirer - Day 1
Your browser can't play this video. Learn more. Switch camera.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@takanakahiko It would be nice if
clasp create
was fixed to prompt the user of which type of add-on to create if--type
isn’t specified.The 2.0 interface is described here: https://github.com/google/clasp#create
I may have to revisit this and use the up and rising CLI framework
oclif
: https://github.com/oclif/oclif