Skip to content
Myr

api.rst

This file

Path

docs/api.rst

98 lines · 1.2 KiB

Last changed by

Implemented and exposed click.echoArmin Ronacherbefore adoption95c24b3

History of this file

Take it

Initial commitArmin Ronacherbefore adoption4101de3

lines 1–27
1API
2===34.. module:: click56This part of the documentation shows the full API reference of all public7classes and functions.89Decorators10----------1112.. autofunction:: command1314.. autofunction:: group1516.. autofunction:: argument1718.. autofunction:: option1920.. autofunction:: password_option2122.. autofunction:: confirmation_option2324.. autofunction:: version_option2526.. autofunction:: help_option27

Added docs for building complex click applicationsArmin Ronacherbefore adoption23d3f68

lines 28–31why, one step back
28.. autofunction:: pass_context
2930.. autofunction:: pass_obj31

Documented missing functionArmin Ronacherbefore adoption58a16f1

lines 32–33why, one step back
32.. autofunction:: make_pass_decorator
33

Initial commitArmin Ronacherbefore adoption4101de3

lines 34–36
34Helper Functions
35----------------36

Implemented and exposed click.echoArmin Ronacherbefore adoption95c24b3

lines 37–38why, one step back
37.. autofunction:: echo
38

Initial commitArmin Ronacherbefore adoption4101de3

lines 39–56
39.. autofunction:: prompt
4041.. autofunction:: confirm4243.. autofunction:: get_terminal_size4445Commands46--------4748.. autoclass:: Command49 :members:5051.. autoclass:: MultiCommand52 :members:5354.. autoclass:: Group55 :members:56

Implemented basic command collectionsArmin Ronacherbefore adoption055a8e6

lines 57–59why, one step back
57.. autoclass:: CommandCollection
58 :members:59

Initial commitArmin Ronacherbefore adoption4101de3

lines 60–88
60Parameters
61----------6263.. autoclass:: Parameter64 :members:6566.. autoclass:: Option6768.. autoclass:: Argument6970Context71-------7273.. autoclass:: Context74 :members:7576Types77-----7879.. autodata:: STRING8081.. autodata:: INT8283.. autodata:: FLOAT8485.. autodata:: BOOL8687.. autoclass:: File88

Added choice supportArmin Ronacherbefore adoption9eacc90

lines 89–90why, one step back
89.. autoclass:: Choice
90

Initial commitArmin Ronacherbefore adoption4101de3

lines 91–98
91.. autoclass:: ParamType
9293Exceptions94----------9596.. autoexception:: Abort9798.. autoexception:: UsageError