Skip to content

copperlight/pycli-example

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published