|
1 | | -Command Line Applications |
| 1 | +Command-line Applications |
2 | 2 | ========================= |
3 | 3 |
|
4 | | -.. todo:: Explain "Command Line Applications" |
| 4 | +.. todo:: Explain "Command-line Applications" |
5 | 5 |
|
6 | 6 | Clint |
7 | 7 | ----- |
8 | 8 |
|
9 | 9 | `clint <https://pypi.python.org/pypi/clint/>`_ is a python module which is |
10 | | -filled with very useful tools for developing command line applications. |
| 10 | +filled with very useful tools for developing command-line applications. |
11 | 11 | It supports features such as; CLI Colors and Indents, Simple and Powerful |
12 | 12 | Column Printer, Iterator based progress bar and Implicit argument handling. |
13 | 13 |
|
14 | 14 | Click |
15 | 15 | ----- |
16 | 16 |
|
17 | | -`click <http://click.pocoo.org/>`_ is an upcoming Python package for creating command |
18 | | -line interfaces in a composable way with as little amount of code as |
19 | | -necessary. It’s the “Command Line Interface Creation Kit”. It’s highly |
| 17 | +`click <http://click.pocoo.org/>`_ is an upcoming Python package for creating |
| 18 | +command-line interfaces in a composable way with as little amount of code as |
| 19 | +necessary. It’s the “Command-line Interface Creation Kit”. It’s highly |
20 | 20 | configurable but comes with good defaults out of the box. |
21 | 21 |
|
22 | 22 | docopt |
23 | 23 | ------ |
24 | 24 |
|
25 | 25 | `docopt <http://docopt.org/>`_ is a lightweight, highly Pythonic package that |
26 | | -allows creating command line interfaces easily and intuitively, by parsing |
| 26 | +allows creating command-line interfaces easily and intuitively, by parsing |
27 | 27 | POSIX-style usage instructions. |
28 | 28 |
|
29 | 29 | Plac |
30 | 30 | ------ |
31 | 31 |
|
32 | | -`Plac <https://pypi.python.org/pypi/plac>`_ is a python module that allows developing command line applications. In fact |
| 32 | +`Plac <https://pypi.python.org/pypi/plac>`_ is a python module that allows developing command-line applications. In fact |
33 | 33 | plac is a simple wrapper over the python standard library `argparse <http://docs.python.org/2/library/argparse.html>`_, it hides most of its |
34 | 34 | complexity by using a declarative interface: the argument parser is inferred |
35 | 35 | rather than written down by imperatively. It is targetting especially unsophisticated |
36 | 36 | users, programmers, sys-admins, scientists and in general people writing throw-away |
37 | | -scripts for themselves, choosing the command line interface because it is quick |
| 37 | +scripts for themselves, choosing the command-line interface because it is quick |
38 | 38 | and simple. |
39 | 39 |
|
40 | 40 | Cliff |
41 | 41 | ------ |
42 | 42 |
|
43 | | -`Cliff <https://cliff.readthedocs.org/en/latest>`_ is a framework for building command line programs. |
| 43 | +`Cliff <https://cliff.readthedocs.org/en/latest>`_ is a framework for building command-line programs. |
44 | 44 | It uses setuptools entry points to provide subcommands, output formatters, and other extensions. The framework |
45 | 45 | is meant to be used to create multi-level commands such as subversion and git, where the main program handles |
46 | 46 | some basic argument parsing and then invokes a sub-command to do the work. |
0 commit comments