api.rst
This file
Path
docs/api.rst
151 lines · 1.9 KiB
Last changed by
Added changelog entry and docsArmin Ronacherbefore adoption12f50b4
History of this fileTake it
The walk stopped after 200 commits: lines older than 23d3f68 point at it.
Added docs for building complex click applicationsArmin Ronacherbefore adoption23d3f68
lines 1–31why, 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_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---------Added docs for building complex click applicationsArmin Ronacherbefore adoption23d3f68
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_pager40Added docs for building complex click applicationsArmin Ronacherbefore adoption23d3f68
lines 41–44why, one step back41.. autofunction:: prompt4243.. autofunction:: confirm44Added changelog entry and docsArmin Ronacherbefore adoption12f50b4
lines 45–46why, one step back45.. autofunction:: progressbar46Added filename format functionArmin Ronacherbefore adoption31043c3
lines 47–48why, one step back47.. autofunction:: format_filename48Added docs for building complex click applicationsArmin Ronacherbefore adoption23d3f68
lines 49–50why, one step back49.. autofunction:: get_terminal_size50Improved stream support and added it to public API.Armin Ronacherbefore adoption002c38d
lines 51–53why, one step back51.. autofunction:: get_binary_stream5253.. autofunction:: get_text_streamAdded changelog entry and docsArmin Ronacherbefore adoption12f50b4
lines 54–55why, one step back5455.. autofunction:: get_app_dirImproved stream support and added it to public API.Armin Ronacherbefore adoption002c38d
line 56why, one step back56Added docs for building complex click applicationsArmin Ronacherbefore adoption23d3f68
lines 57–59why, one step back57Commands58--------59Added a base command for dispatching to other parsers.Armin Ronacherbefore adoption955beb8
lines 60–62why, one step back60.. autoclass:: BaseCommand61 :members:62Added docs for building complex click applicationsArmin Ronacherbefore adoption23d3f68
lines 63–71why, one step back63.. autoclass:: Command64 :members:6566.. autoclass:: MultiCommand67 :members:6869.. autoclass:: Group70 :members:71Implemented basic command collectionsArmin Ronacherbefore adoption055a8e6
lines 72–74why, one step back72.. autoclass:: CommandCollection73 :members:74Added docs for building complex click applicationsArmin Ronacherbefore adoption23d3f68
lines 75–101why, one step back75Parameters76----------7778.. autoclass:: Parameter79 :members:8081.. autoclass:: Option8283.. autoclass:: Argument8485Context86-------8788.. autoclass:: Context89 :members:9091Types92-----9394.. autodata:: STRING9596.. autodata:: INT9798.. autodata:: FLOAT99100.. autodata:: BOOL101Added UUID type supportArmin Ronacherbefore adoption4ed961d
lines 102–103why, one step back102.. autodata:: UUID103Added docs for building complex click applicationsArmin Ronacherbefore adoption23d3f68
lines 104–105why, one step back104.. autoclass:: File105Implemented the Path typeArmin Ronacherbefore adoption2e7c39c
lines 106–107why, one step back106.. autoclass:: Path107Added choice supportArmin Ronacherbefore adoption9eacc90
lines 108–109why, one step back108.. autoclass:: Choice109Added missing type to docsArmin Ronacherbefore adoption065ce06
lines 110–111why, one step back110.. autoclass:: IntRange111Added docs for building complex click applicationsArmin Ronacherbefore adoption23d3f68
line 112why, one step back112.. autoclass:: ParamTypeAdded multi envvar docsArmin Ronacherbefore adoption61eb5e2
line 113why, one step back113 :members:Added docs for building complex click applicationsArmin Ronacherbefore adoption23d3f68
lines 114–117why, one step back114115Exceptions116----------117Added lazy file openingArmin Ronacherbefore adoptionf270dd2
lines 118–119why, one step back118.. autoexception:: ClickException119Added docs for building complex click applicationsArmin Ronacherbefore adoption23d3f68
lines 120–122why, one step back120.. autoexception:: Abort121122.. autoexception:: UsageErrorAdded lazy file openingArmin Ronacherbefore adoptionf270dd2
line 123why, one step back123Added support for BadParameter exceptions.Armin Ronacherbefore adoption1407ecb
lines 124–125why, one step back124.. autoexception:: BadParameter125Added lazy file openingArmin Ronacherbefore adoptionf270dd2
line 126why, one step back126.. autoexception:: FileErrorExposed formattingArmin Ronacherbefore adoption97b505c
lines 127–134why, one step back127128Formatting129----------130131.. autoclass:: HelpFormatter132 :members:133134.. autofunction:: wrap_textExposed parserArmin Ronacherbefore adoption1726e47
lines 135–140why, one step back135136Parsing137-------138139.. autoclass:: OptionParser140 :members:Moved the test code into the APIArmin Ronacherbefore adoptionc265355
lines 141–151why, one step back141142Testing143-------144145.. currentmodule:: click.testing146147.. autoclass:: CliRunner148 :members:149150.. autoclass:: Result151 :members: