api.rst
This file
Path
docs/api.rst
106 lines · 1.3 KiB
Last changed by
Exposed formattingArmin Ronacherbefore adoption97b505c
History of this fileTake it
Initial commitArmin Ronacherbefore adoption4101de3
lines 1–271API2===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_option27Added docs for building complex click applicationsArmin Ronacherbefore adoption23d3f68
lines 28–31why, one step back28.. autofunction:: pass_context2930.. autofunction:: pass_obj31Documented missing functionArmin Ronacherbefore adoption58a16f1
lines 32–33why, one step back32.. autofunction:: make_pass_decorator33Initial commitArmin Ronacherbefore adoption4101de3
lines 34–3634Helper Functions35----------------36Implemented and exposed click.echoArmin Ronacherbefore adoption95c24b3
lines 37–38why, one step back37.. autofunction:: echo38Initial commitArmin Ronacherbefore adoption4101de3
lines 39–5639.. autofunction:: prompt4041.. autofunction:: confirm4243.. autofunction:: get_terminal_size4445Commands46--------4748.. autoclass:: Command49 :members:5051.. autoclass:: MultiCommand52 :members:5354.. autoclass:: Group55 :members:56Implemented basic command collectionsArmin Ronacherbefore adoption055a8e6
lines 57–59why, one step back57.. autoclass:: CommandCollection58 :members:59Initial commitArmin Ronacherbefore adoption4101de3
lines 60–8860Parameters61----------6263.. autoclass:: Parameter64 :members:6566.. autoclass:: Option6768.. autoclass:: Argument6970Context71-------7273.. autoclass:: Context74 :members:7576Types77-----7879.. autodata:: STRING8081.. autodata:: INT8283.. autodata:: FLOAT8485.. autodata:: BOOL8687.. autoclass:: File88Added choice supportArmin Ronacherbefore adoption9eacc90
lines 89–90why, one step back89.. autoclass:: Choice90Initial commitArmin Ronacherbefore adoption4101de3
lines 91–9891.. autoclass:: ParamType9293Exceptions94----------9596.. autoexception:: Abort9798.. autoexception:: UsageErrorExposed formattingArmin Ronacherbefore adoption97b505c
lines 99–106why, one step back99100Formatting101----------102103.. autoclass:: HelpFormatter104 :members:105106.. autofunction:: wrap_text