Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.37 KB

README.md

File metadata and controls

58 lines (39 loc) · 1.37 KB

Snapshot Release

Introduction

This project provides a minimal example of CLI application packaging for Python.

Installation

This package supports Python >= 3.6.

Install:

pip3 install git+https://github.com/copperlight/pycli-example.git

Upgrade:

pip3 install --upgrade git+https://github.com/copperlight/pycli-example.git

Local Development

Setup and activate a virtualenv, for local development:

./setup-venv.sh
source venv/bin/activate

Run tests locally:

pytest

Run the latest version locally, so you can skip installing the package and cycle faster:

python3 ./pycli_example/cmd.py -h

Install the CLI app in the virtualenv, so you can run it as a user would:

python3 setup.py install
pycli-example -h
pycli-example -n Frasier

Release Process