An open API service indexing awesome lists of open source software.

https://github.com/drorata/mwe-subcommands-click

Minimal example how to use sub commands and click
https://github.com/drorata/mwe-subcommands-click

Last synced: 10 months ago
JSON representation

Minimal example how to use sub commands and click

Awesome Lists containing this project

README

          

# Minimal example of nesting commands using [click](http://click.pocoo.org/)

1. Set a virtual environment using the provided `environment.yml`
2. From the command line, at the project's root, run: `python my_cli.py --help`

This example is based/inspired by [this answer](https://stackoverflow.com/a/39228156/671013).