I think this is quite popular: https://github.com/jonathanslenders/python-prompt-toolkit
For Rust this library seems nice: https://github.com/kbknapp/clap-rs (it generates autocompletion scripts for shells)
For Rust this library seems nice: https://github.com/kbknapp/clap-rs (it generates autocompletion scripts for shells)