api.rst
This file
Path
docs/api.rst
163 lines · 2.0 KiB
Last changed by
Added click.launchArmin Ronacherbefore adoptionba36392
History of this fileTake it
The walk stopped after 200 commits: lines older than 9ab74c3 point at it.
Abort with a clear error message on Python 3 if the env is ASCII.Armin Ronacherbefore adoption9ab74c3
lines 1–33why, one step back1API2===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_option2728.. autofunction:: pass_context2930.. autofunction:: pass_obj3132.. autofunction:: make_pass_decorator33Added lazy file openingArmin Ronacherbefore adoptionf270dd2
lines 34–35why, one step back34Utilities35---------Abort with a clear error message on Python 3 if the env is ASCII.Armin Ronacherbefore adoption9ab74c3
line 36why, one step back36Implemented 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_pager40Abort with a clear error message on Python 3 if the env is ASCII.Armin Ronacherbefore adoption9ab74c3
lines 41–44why, one step back41.. autofunction:: prompt4243.. autofunction:: confirm44Added changelog entry and docsArmin Ronacherbefore adoption12f50b4
lines 45–46why, one step back45.. autofunction:: progressbar46Added support for screen clearing.Armin Ronacherbefore adoption09ba1e9
lines 47–48why, one step back47.. autofunction:: clear48Added style and unstyle to docs.Armin Ronacherbefore adoption22241e4
lines 49–52why, one step back49.. autofunction:: style5051.. autofunction:: unstyle52Added sechoArmin Ronacherbefore adoption97f942c
lines 53–54why, one step back53.. autofunction:: secho54Added an edit function.Armin Ronacherbefore adoption721e527
lines 55–56why, one step back55.. autofunction:: edit56Added click.launchArmin Ronacherbefore adoptionba36392
lines 57–58why, one step back57.. autofunction:: launch58Added filename format functionArmin Ronacherbefore adoption31043c3
lines 59–60why, one step back59.. autofunction:: format_filename60Abort with a clear error message on Python 3 if the env is ASCII.Armin Ronacherbefore adoption9ab74c3
lines 61–62why, one step back61.. autofunction:: get_terminal_size62Improved stream support and added it to public API.Armin Ronacherbefore adoption002c38d
lines 63–65why, one step back63.. autofunction:: get_binary_stream6465.. autofunction:: get_text_streamAdded changelog entry and docsArmin Ronacherbefore adoption12f50b4
lines 66–67why, one step back6667.. autofunction:: get_app_dirImproved stream support and added it to public API.Armin Ronacherbefore adoption002c38d
line 68why, one step back68Abort with a clear error message on Python 3 if the env is ASCII.Armin Ronacherbefore adoption9ab74c3
lines 69–71why, one step back69Commands70--------71Added a base command for dispatching to other parsers.Armin Ronacherbefore adoption955beb8
lines 72–74why, one step back72.. autoclass:: BaseCommand73 :members:74Abort with a clear error message on Python 3 if the env is ASCII.Armin Ronacherbefore adoption9ab74c3
lines 75–83why, one step back75.. autoclass:: Command76 :members:7778.. autoclass:: MultiCommand79 :members:8081.. autoclass:: Group82 :members:83Implemented basic command collectionsArmin Ronacherbefore adoption055a8e6
lines 84–86why, one step back84.. autoclass:: CommandCollection85 :members:86Abort with a clear error message on Python 3 if the env is ASCII.Armin Ronacherbefore adoption9ab74c3
lines 87–113why, one step back87Parameters88----------8990.. autoclass:: Parameter91 :members:9293.. autoclass:: Option9495.. autoclass:: Argument9697Context98-------99100.. autoclass:: Context101 :members:102103Types104-----105106.. autodata:: STRING107108.. autodata:: INT109110.. autodata:: FLOAT111112.. autodata:: BOOL113Added UUID type supportArmin Ronacherbefore adoption4ed961d
lines 114–115why, one step back114.. autodata:: UUID115Abort with a clear error message on Python 3 if the env is ASCII.Armin Ronacherbefore adoption9ab74c3
lines 116–117why, one step back116.. autoclass:: File117Implemented the Path typeArmin Ronacherbefore adoption2e7c39c
lines 118–119why, one step back118.. autoclass:: Path119Abort with a clear error message on Python 3 if the env is ASCII.Armin Ronacherbefore adoption9ab74c3
lines 120–121why, one step back120.. autoclass:: Choice121Added missing type to docsArmin Ronacherbefore adoption065ce06
lines 122–123why, one step back122.. autoclass:: IntRange123Abort with a clear error message on Python 3 if the env is ASCII.Armin Ronacherbefore adoption9ab74c3
line 124why, one step back124.. autoclass:: ParamTypeAdded multi envvar docsArmin Ronacherbefore adoption61eb5e2
line 125why, one step back125 :members:Abort with a clear error message on Python 3 if the env is ASCII.Armin Ronacherbefore adoption9ab74c3
lines 126–129why, one step back126127Exceptions128----------129Added lazy file openingArmin Ronacherbefore adoptionf270dd2
lines 130–131why, one step back130.. autoexception:: ClickException131Abort with a clear error message on Python 3 if the env is ASCII.Armin Ronacherbefore adoption9ab74c3
lines 132–134why, one step back132.. autoexception:: Abort133134.. autoexception:: UsageErrorAdded lazy file openingArmin Ronacherbefore adoptionf270dd2
line 135why, one step back135Added support for BadParameter exceptions.Armin Ronacherbefore adoption1407ecb
lines 136–137why, one step back136.. autoexception:: BadParameter137Added lazy file openingArmin Ronacherbefore adoptionf270dd2
line 138why, one step back138.. autoexception:: FileErrorExposed formattingArmin Ronacherbefore adoption97b505c
lines 139–146why, one step back139140Formatting141----------142143.. autoclass:: HelpFormatter144 :members:145146.. autofunction:: wrap_textExposed parserArmin Ronacherbefore adoption1726e47
lines 147–152why, one step back147148Parsing149-------150151.. autoclass:: OptionParser152 :members:Moved the test code into the APIArmin Ronacherbefore adoptionc265355
lines 153–163why, one step back153154Testing155-------156157.. currentmodule:: click.testing158159.. autoclass:: CliRunner160 :members:161162.. autoclass:: Result163 :members: