mirror of
https://github.com/autistic-symposium/web3-starter-py.git
synced 2025-08-06 13:44:17 -04:00
add a few simple boilerplates
This commit is contained in:
parent
962d1a0778
commit
60f223867a
16 changed files with 80 additions and 0 deletions
41
Click_app/README.md
Normal file
41
Click_app/README.md
Normal file
|
@ -0,0 +1,41 @@
|
|||
# Awesome Python 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 .
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue