Skip to main content

Basic Command line utility

Project description

ttn-cli

Basic CLI utility

To make build

Make sure you have the latest versions of setuptools and wheel installed:

python3 -m pip install --upgrade setuptools wheel

Now run this command from the same directory where setup.py is located:

python3 setup.py sdist bdist_wheel

To Install The Library Locally

Inside the folder containing setup.py

python3 setup.py install

To Run In Development Mode

Setup a virtual environment to install the package

virtualenv venv -p python3.6

Then to install the package in development mode

python setup.py develop

To enter shell

ttn_cli

To Run CLI Commands

ttn_cli --help # show all the available options

ttn_cli git --help # shows all the commands related to git

ttn_cli git logs -f <form_date> -a <author-name> show the logs of a particular author

... and many more

ttn_cli network --help # shows all the commands related to network

ttn_cli network show_public_ip # shows public IP of host

ttn_cli network show_private_ip # shows private IP of host

For reference, follow this article.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ttncli-0.0.8.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

ttncli-0.0.8-py3-none-any.whl (10.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page