Command-line interfaces made accessible to even simpletons
Command-line interfaces made accessible to even simpletons.
pip install climates
# Step 1: import Climate from climates import Climate # Step 2: create Climate object cli = Climate("hello", description="Hello world app.") # Step 3: ??? # Step 4: add commands to CLI cli.add_commands(hello, bye) # Step 5: run CLI cli.run() # Step 6: PROFIT!!!
example.py for details.
- Generate CLI help and options from docstrings and type annotations
- Automatic dispatch to command handling functions
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.