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
- Host: GitHub
- URL: https://github.com/drorata/mwe-subcommands-click
- Owner: drorata
- Created: 2017-09-26T15:31:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-26T15:56:31.000Z (over 8 years ago)
- Last Synced: 2025-04-09T02:23:24.102Z (about 1 year ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 16
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).