question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Switch from `commander` to `inquirer`

See original GitHub issue

Give autocompletion for `clasp commands.

Vorpal seems to be based on commander and provides these features.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
grantcommented, Nov 20, 2018

@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

0reactions
grantcommented, Apr 6, 2019

I may have to revisit this and use the up and rising CLI framework oclif: https://github.com/oclif/oclif

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found