prompt-toolkit / python-prompt-toolkit

Library for building powerful interactive command line applications in Python
https://python-prompt-toolkit.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
9.11k stars 718 forks source link

Command-line arguments for a prompt-toolkit based application? #982

Open simonvanderveldt opened 4 years ago

simonvanderveldt commented 4 years ago

I couldn't really find anything about this, so it probably doesn't exist, but is there some built-in support/functionality for command-line arguments for a prompt-toolkit based application or should one just use one of the existing libraries that focus on building a CLI for that?

jonathanslenders commented 4 years ago

No, it's not prompt_toolkit's responsibility. Check out argparse, click or docopt.