https://github.com/takp/click-sample
Sample CLI tool
https://github.com/takp/click-sample
Last synced: 3 months ago
JSON representation
Sample CLI tool
- Host: GitHub
- URL: https://github.com/takp/click-sample
- Owner: takp
- Created: 2018-08-13T06:45:15.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-27T04:30:15.000Z (over 6 years ago)
- Last Synced: 2024-12-27T09:28:00.432Z (5 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# click-sample
Sample code for CLI tool which generates YAML file,
using Python package [Click](https://github.com/pallets/click).## Usage
### Prepare
```bash
$ python3 -m venv venv
$ source env/bin/activate
$ python --version
$ pip install -r requirements.txt
``````bash
$ git clone [email protected]:takp/click-sample.git
$ cd click-sample
$ pip install --editable .
$ click --help
```### Run
```bash
$ click
Your project name: sample project
Created output.yml.
```