Skip to main content

Framework for building command-line tools

Project description

Build Status

Introduction

yaclifw is a framework for building CLI tools.

Dependencies

Direct dependencies of yaclifw are:

Installation

To install yaclifw, run:

$ python setup.py install

or using pip, run:

$ pip install yaclifw

To upgrade your pip installation, run:

$ pip install -U yaclifw

Usage

The list of available commands can be listed with:

$ yaclifw -h

For each subcommand, additional help can be queried, e.g.:

$ yaclifw example -h

Extending yaclifw

The easiest way to make use of yaclifw is by cloning the repository and modifying the main.py method to include your own commands.

Contributing

yaclifw follows PEP 8, the Style Guide for Python Code. Please check your code with pep8 or flake8, the Python style guide checkers, by running flake8 -v . or pep8 -v ..

Running tests

The tests are located under the test directory. To run all the tests, use the test target of setup.py:

python setup.py test

Unit tests

Unit tests are stored under the test/unit folder and can be run by calling:

python setup.py test -s test/unit

Unit tests are also run by the Travis build on every Pull Request opened against the main repository.

License

yaclifw is released under the GPL.

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

yaclifw-0.1.2.tar.gz (13.4 kB view details)

Uploaded Source

File details

Details for the file yaclifw-0.1.2.tar.gz.

File metadata

  • Download URL: yaclifw-0.1.2.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for yaclifw-0.1.2.tar.gz
Algorithm Hash digest
SHA256 18b7786e991daadb921aeb6ab6b4e3a9dea7c623ea14afa3b5294695ea227897
MD5 4333d2cb9d0d354a14c2fb2962db3284
BLAKE2b-256 5451bc0b6b06faf067e5c7fa69f0c5ad416bdb1276433b4130cefc23d8181d97

See more details on using hashes here.

Provenance

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