npms-io / npms-cli

The CLI search utility for npms
MIT License
262 stars 23 forks source link

Add interactive behavior to search commands #12

Open satazor opened 8 years ago

satazor commented 8 years ago

As suggested by @sindresorhus it would be cool if we could do multiple searches and navigate in the search results interactively. Perhaps we could use https://github.com/SBoudrias/Inquirer.js/ or a lower level library to do this.

flesch commented 8 years ago

I don't know exactly what @sindresorhus suggested, but it would be cool to combine searching with something like trymodule. Search for a package, and then load it into a REPL to test it out.

rickycodes commented 8 years ago

https://github.com/dthree/vorpal looks promising for this as well; also has a similar api to yargs with command.description, command.alias...