Setup
First, you need to create a virtual environment and activate it.
$ pip install virtualenv $ virtualenv .venv $ . .venv/bin/activate (.venv)$
Next, install cliff in the environment.
(.venv)$ python setup.py install
Now, install the demo application into the virtual environment.
(.venv)$ cd demoapp (.venv)$ python setup.py install
Usage
With cliff and the demo setup up, you can now play with it.
To see a list of commands available, run:
(.venv)$ cliffdemo --help
One of the available commands is “simple” and running it
(.venv)$ cliffdemo simple
produces the following
sending greeting hi!
To see help for an individual command, include the command name on the command line:
(.venv)$ cliffdemo files --help
Cleaning Up
Finally, when done, deactivate your virtual environment:
(.venv)$ deactivate $
Release files for aimaxcli 4.5.0.20200724
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aimaxcli-4.5.0.20200724.tar.gz | 43.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aimaxcli-4.5.0.20200724-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 124.5 kB
Release files / aimaxcli-4.5.0.20200724.tar.gz
| Download URL | aimaxcli-4.5.0.20200724.tar.gz |
|---|---|
| Size | 43.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39f00b1a736db8ea5b2aa5897c6cfd174a6a90674489dd56cadb539b21c4f316
|
|
BLAKE2b-256 checksum How to use checksums |
dbecd60646c43a9d3215afbb1ebb3f23a1ad1b2fe92b85f1fffcad3884699db6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.9.1
|
Release files / aimaxcli-4.5.0.20200724-py3-none-any.whl
| Download URL | aimaxcli-4.5.0.20200724-py3-none-any.whl |
|---|---|
| Size | 80.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15efb16646f63a594b47ed34243ed89dca75739923a51ca0022d6d036b3bea9e
|
|
BLAKE2b-256 checksum How to use checksums |
ea3f77add2e070074235368d72204bb6c9630dbf536ec2f350abc1c129307896
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.9.1
|