Update README.md
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Kaleb R. Horvath · committed by GitHub · parent 6149432 · Browse files · 2 files·+64 added−20 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+64 added−20 removed
- other:+64 added−20 removed
Provenance
- Commit
58d8320- Tree
3badeaf- Author
Kaleb R. Horvath <bobafett2021@hotmail.com>- Committer
GitHub <noreply@github.com>- Parent
6149432
2 files changed+64 added−20 removed
deleted:README-20 removed
1-$ click_2-3- Click is a Python package for creating beautiful command line interfaces4- in a composable way with as little code as necessary. It's the "Command5- Line Interface Creation Kit". It's highly configurable but comes with6- sensible defaults out of the box.7-8- It aims to make the process of writing command line tools quick and fun9- while also preventing any frustration caused by the inability to implement10- an intended CLI API.11-12- Click in three points:13-14- - arbitrary nesting of commands15- - automatic help page generation16- - supports lazy loading of subcommands at runtime17-18- Read the docs at http://click.pocoo.org/19-20- This library is stable and active. Feedback is always welcome!added:README.md+64 added
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364# $ click_
[](https://ci.appveyor.com/project/tygerbytes/resourcefitness)
## What's Click?
Click is a Python package for creating beautiful command line interfacesin a composable way with as little code as necessary. It's the "CommandLine Interface Creation Kit". It's highly configurable but comes withsensible defaults out of the box.
It aims to make the process of writing command line tools quick and funwhile also preventing any frustration caused by the inability to implementan intended CLI API.
Click in three points: - arbitrary nesting of commands - automatic help page generation - supports lazy loading of subcommands at runtime ## Example What does it look like? Here is an example of a simple Click program:```pythonimport click
@click.command()@click.option('--count', default=1, help='Number of greetings.')@click.option('--name', prompt='Your name', help='The person to greet.')def hello(count, name): """Simple program that greets NAME for a total of COUNT times.""" for x in range(count): click.echo('Hello %s!' % name)
if __name__ == '__main__': hello()```And what it looks like when run:```shell$ python hello.py --count=3Your name: JohnHello John!Hello John!Hello John!```
## InstallationThe installation process is easy and contained.```$ pip install Click```Or you can build from source.```$ git clone https://github.com/pallets/click.git$ python setup.py install ``` ## Documentation
Read the docs at http://click.pocoo.org/
## Status
This library is stable and active. Feedback is always welcome!