web3-starter-py/boilerplates/click
osiris account 69bb4175f1 💾
2023-03-12 15:29:57 -07:00
..
src 💾 2023-03-12 15:29:57 -07:00
Makefile 💾 2023-03-12 15:29:57 -07:00
pytest.ini 💾 2023-03-12 15:29:57 -07:00
README.md 💾 2023-03-12 15:29:57 -07:00
requirements.txt 💾 2023-03-12 15:29:57 -07:00
setup.py 💾 2023-03-12 15:29:57 -07:00

Click / CLI Boilerplate

A quick boilerplate when creating a new CLI apps/scripts in Python3.

Install

Create and source a virtual environment:

virtualenv venv
source venv/bin/activate

Install dependencies:

pip install -r requirements.txt

Install package:

pip install .

Test your install with:

yourapp --help

Development

Create a virtual environment and install the package with an editable option:

pip install --editable .