Framework for building command-line tools
yaclifw is a framework for building CLI tools.
Direct dependencies of yaclifw are:
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
The list of available commands can be listed with:
$ yaclifw -h
For each subcommand, additional help can be queried, e.g.:
$ yaclifw example -h
The easiest way to make use of yaclifw is by cloning the repository and modifying the main.py method to include your own commands.
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 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.
yaclifw is released under the GPL.
2014, The Open Microscopy Environment
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.