You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

yaclifw

Package Overview
Dependencies
Maintainers
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yaclifw

Framework for building command-line tools

0.2.0
pipPyPI
Maintainers
5

Yet Another CLI Framework

|Build Status|

Introduction

yaclifw is a framework for building CLI tools.

Dependencies

Direct dependencies of yaclifw are:

  • argparse_

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 ..

.. _PEP 8: http://www.python.org/dev/peps/pep-0008/

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 -t 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.

2014, The Open Microscopy Environment

.. _argparse: http://pypi.python.org/pypi/argparse .. _pep8: https://pypi.python.org/pypi/pep8 .. _flake8: https://pypi.python.org/pypi/flake8 .. _Travis: http://travis-ci.org/openmicroscopy/yaclifw

.. |Build Status| image:: https://travis-ci.org/openmicroscopy/yaclifw.png :target: http://travis-ci.org/openmicroscopy/yaclifw

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts