<commit_before>Cliez
==================

make CLI-App easier.


Quick links
-----------

* `Documentation <http://cliez.readthedocs.org/>`_
* `Source (github) <https://github.com/9nix00/cliez>`_

Why Cliez
------------------------------------------------------------------------------------------------

python `argparser <https://docs.python.org/3/library/argparse.html>`_ is powerful,
but it's a little complex in most case when we create a small CLI-APP,like `ls`.
we just need recognize which param is option,action or just a argv parameter. and can publish with a simple manual.


In other case. when we need to create complex CLI-App. like `git`,
use `argparser` is a good way,but we still need to write some code by ourselves.
for new python guy. you may make your code style looks ugly.


that's why I create cliez. make simple is simple. complex is elegant.



Limit
------------------------------------------------------------------------------------------------

For simple style.

the below syntax is not support:

.. code-block:: shell

    command --a=1

    command --a=1 --a=2


For argparse style.

currently, argparse mode doesn't support installed package. I will add this feature in my spare time.


Demo
------------

I create demo for easier use this

`Simple Style <>`_
`Argparse Style <>`_




Installation
------------

**Automatic installation**::

    pip install cliez

Cliez is listed in `PyPI <http://pypi.python.org/pypi/cliez/>`_ and
can be installed with ``pip`` or ``easy_install``.
it includes demo applications.


**Manual installation**: Download the latest source from `Github
<http://www.github.com/9nix00/cliez/>`_.

.. parsed-literal::

    git clone  https://github.com/9nix00/cliez.git
    cd cliez<commit_msg>update demo path<commit_after>Cliez
==================

make CLI-App easier.


Quick links
-----------

* `Documentation <http://cliez.readthedocs.org/>`_
* `Source (github) <https://github.com/9nix00/cliez>`_

Why Cliez
------------------------------------------------------------------------------------------------

python `argparser <https://docs.python.org/3/library/argparse.html>`_ is powerful,
but it's a little complex in most case when we create a small CLI-APP,like `ls`.
we just need recognize which param is option,action or just a argv parameter. and can publish with a simple manual.


In other case. when we need to create complex CLI-App. like `git`,
use `argparser` is a good way,but we still need to write some code by ourselves.
for new python guy. you may make your code style looks ugly.


that's why I create cliez. make simple is simple. complex is elegant.



Limit
------------------------------------------------------------------------------------------------

For simple style.

the below syntax is not support:

.. code-block:: shell

    command --a=1

    command --a=1 --a=2


For argparse style.

currently, argparse mode doesn't support installed package. I will add this feature in my spare time.


Demo
------------

I create demo for easier use this

`Simple Style <https://github.com/9nix00/cliez/blob/master/demo/simple_demo/simple.py>`_
`Argparse Style <https://github.com/9nix00/cliez/blob/master/demo/argparse_demo/argparse_pkg/main.py>`_



Installation
------------

**Automatic installation**::

    pip install cliez

Cliez is listed in `PyPI <http://pypi.python.org/pypi/cliez/>`_ and
can be installed with ``pip`` or ``easy_install``.
it includes demo applications.


**Manual installation**: Download the latest source from `Github
<http://www.github.com/9nix00/cliez/>`_.

.. parsed-literal::

    git clone  https://github.com/9nix00/cliez.git
    cd cliez
{'fraction_non_alphanumeric': 0.22534826550122916, 'fraction_numerical': 0.008740781207320403, 'mean_word_length': 2.2094653812445224, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7262707', 'n_tokens_mistral': 1104, 'n_tokens_neox': 1022, 'n_words': 385}