3 ms·
Is this an open-source library one could use to make one's own interactive tools? Just curious. Anyone have pointers? Edit: I am slightly familiar with this fa
by zellyn 9y ago
Is this an open-source library one could use to make one's own interactive tools? Just curious. Anyone have pointers?
Edit: I am slightly familiar with this family of tools. I was curious if there was a pointer to exactly the one used here.
- oblio 9y agoI think this is quite popular: https://github.com/jonathanslenders/python-prompt-toolkit https://github.com/jonathanslenders/python-prompt-toolkit For Rust this library seems nice: https://github.com/kbknapp/clap-rs https://github.com/kbknapp/clap-rs (it generates autocompletion scripts for shells)
- deleted 9y ago[deleted]
- phjordon 9y agoIt's a pretty neat tool. I've played around with it a lot, and it's used in the aws-shell[0] to a very similar effect as the OP. (Disclaimer: I work for aws and have contributed to the aws-shell.) [0]: https://github.com/awslabs/aws-shell https://github.com/awslabs/aws-shell
- Arcsech 9y agoTo build on Rust's options, there's the Structopt library[0] that generates a CLI interface using clap-rs from an annotated struct, which is a very, very nice experience for making command line tools. [0]https://github.com/TeXitoi/structopt https://github.com/TeXitoi/structopt
- Chaosteil 9y agoI believe this looks awfully familiar to this: https://github.com/c-bata/go-prompt https://github.com/c-bata/go-prompt (which is based on the previously mentioned `python-promt-toolkit`)