api.rst
This file
Path
docs/api.rst
145 lines · 1.8 KiB
Last changed by
Added filename format functionArmin Ronacherbefore adoption31043c3
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_decorator33Added lazy file openingArmin Ronacherbefore adoptionf270dd2
lines 34–35why, one step back34Utilities35---------36Implemented and exposed click.echoArmin Ronacherbefore adoption95c24b3
lines 37–38why, one step back37.. autofunction:: echo38Added an echo function with pager supportArmin Ronacherbefore adoption54c90d0
lines 39–40why, one step back39.. autofunction:: echo_via_pager40Initial commitArmin Ronacherbefore adoption4101de3
lines 41–4441.. autofunction:: prompt4243.. autofunction:: confirm44Added filename format functionArmin Ronacherbefore adoption31043c3
lines 45–46why, one step back45.. autofunction:: format_filename46Initial commitArmin Ronacherbefore adoption4101de3
lines 47–4847.. autofunction:: get_terminal_size48Improved stream support and added it to public API.Armin Ronacherbefore adoption002c38d
lines 49–52why, one step back49.. autofunction:: get_binary_stream5051.. autofunction:: get_text_stream52Initial commitArmin Ronacherbefore adoption4101de3
lines 53–5553Commands54--------55Added a base command for dispatching to other parsers.Armin Ronacherbefore adoption955beb8
lines 56–58why, one step back56.. autoclass:: BaseCommand57 :members:58Initial commitArmin Ronacherbefore adoption4101de3
lines 59–6759.. autoclass:: Command60 :members:6162.. autoclass:: MultiCommand63 :members:6465.. autoclass:: Group66 :members:67Implemented basic command collectionsArmin Ronacherbefore adoption055a8e6
lines 68–70why, one step back68.. autoclass:: CommandCollection69 :members:70Initial commitArmin Ronacherbefore adoption4101de3
lines 71–9771Parameters72----------7374.. autoclass:: Parameter75 :members:7677.. autoclass:: Option7879.. autoclass:: Argument8081Context82-------8384.. autoclass:: Context85 :members:8687Types88-----8990.. autodata:: STRING9192.. autodata:: INT9394.. autodata:: FLOAT9596.. autodata:: BOOL97Added UUID type supportArmin Ronacherbefore adoption4ed961d
lines 98–99why, one step back98.. autodata:: UUID99Initial commitArmin Ronacherbefore adoption4101de3
lines 100–101100.. autoclass:: File101Implemented the Path typeArmin Ronacherbefore adoption2e7c39c
lines 102–103why, one step back102.. autoclass:: Path103Added choice supportArmin Ronacherbefore adoption9eacc90
lines 104–105why, one step back104.. autoclass:: Choice105Added missing type to docsArmin Ronacherbefore adoption065ce06
lines 106–107why, one step back106.. autoclass:: IntRange107108.. autoclass:: ParamTypeAdded multi envvar docsArmin Ronacherbefore adoption61eb5e2
line 109why, one step back109 :members:Initial commitArmin Ronacherbefore adoption4101de3
lines 110–113110111Exceptions112----------113Added lazy file openingArmin Ronacherbefore adoptionf270dd2
lines 114–115why, one step back114.. autoexception:: ClickException115Initial commitArmin Ronacherbefore adoption4101de3
lines 116–118116.. autoexception:: Abort117118.. autoexception:: UsageErrorAdded lazy file openingArmin Ronacherbefore adoptionf270dd2
lines 119–120why, one step back119120.. autoexception:: FileErrorExposed formattingArmin Ronacherbefore adoption97b505c
lines 121–128why, one step back121122Formatting123----------124125.. autoclass:: HelpFormatter126 :members:127128.. autofunction:: wrap_textExposed parserArmin Ronacherbefore adoption1726e47
lines 129–134why, one step back129130Parsing131-------132133.. autoclass:: OptionParser134 :members:Moved the test code into the APIArmin Ronacherbefore adoptionc265355
lines 135–145why, one step back135136Testing137-------138139.. currentmodule:: click.testing140141.. autoclass:: CliRunner142 :members:143144.. autoclass:: Result145 :members: