api.rst
This file
Path
docs/api.rst
175 lines · 2.2 KiB
Last changed by
Added missing new types to the docs.Armin Ronacherbefore adoptionf239511
History of this fileTake it
The walk stopped after 200 commits: lines older than ebde9a0 point at it.
Updated docs for upgrade information.Armin Ronacherbefore adoptionebde9a0
lines 1–5why, one step back1API2===34.. module:: click5Merge pull request #113 from iKevinY/doc-fixesArmin Ronacherbefore adoptione0ea94a
line 6why, one step back6This part of the documentation lists the full API reference of all publicUpdated docs for upgrade information.Armin Ronacherbefore adoptionebde9a0
lines 7–48why, one step back7classes 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_decorator3334Utilities35---------3637.. autofunction:: echo3839.. autofunction:: echo_via_pager4041.. autofunction:: prompt4243.. autofunction:: confirm4445.. autofunction:: progressbar4647.. 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 getchar()Armin Ronacherbefore adoption88c97ef
line 59why, one step back59.. autofunction:: getcharUpdated docs for upgrade information.Armin Ronacherbefore adoptionebde9a0
line 60why, one step back60Added click.pauseArmin Ronacherbefore adoptionc9eb780
lines 61–62why, one step back61.. autofunction:: pause62Updated docs for upgrade information.Armin Ronacherbefore adoptionebde9a0
lines 63–68why, one step back63.. autofunction:: get_terminal_size6465.. autofunction:: get_binary_stream6667.. autofunction:: get_text_stream68Added open_file to api docs.Armin Ronacherbefore adoption42d99d6
lines 69–70why, one step back69.. autofunction:: open_file70Updated docs for upgrade information.Armin Ronacherbefore adoptionebde9a0
line 71why, one step back71.. autofunction:: get_app_dirAdded getchar()Armin Ronacherbefore adoption88c97ef
lines 72–73why, one step back7273.. autofunction:: format_filenameUpdated docs for upgrade information.Armin Ronacherbefore adoptionebde9a0
lines 74–121why, one step back7475Commands76--------7778.. autoclass:: BaseCommand79 :members:8081.. autoclass:: Command82 :members:8384.. autoclass:: MultiCommand85 :members:8687.. autoclass:: Group88 :members:8990.. autoclass:: CommandCollection91 :members:9293Parameters94----------9596.. autoclass:: Parameter97 :members:9899.. autoclass:: Option100101.. autoclass:: Argument102103Context104-------105106.. autoclass:: Context107 :members:108109Types110-----111112.. autodata:: STRING113114.. autodata:: INT115116.. autodata:: FLOAT117118.. autodata:: BOOL119120.. autodata:: UUID121Added missing new types to the docs.Armin Ronacherbefore adoptionf239511
lines 122–123why, one step back122.. autodata:: UNPROCESSED123Updated docs for upgrade information.Armin Ronacherbefore adoptionebde9a0
lines 124–146why, one step back124.. autoclass:: File125126.. autoclass:: Path127128.. autoclass:: Choice129130.. autoclass:: IntRange131132.. autoclass:: ParamType133 :members:134135Exceptions136----------137138.. autoexception:: ClickException139140.. autoexception:: Abort141142.. autoexception:: UsageError143144.. autoexception:: BadParameter145146.. autoexception:: FileErrorAdded missing new types to the docs.Armin Ronacherbefore adoptionf239511
lines 147–150why, one step back147148.. autoexception:: NoSuchOption149150.. autoexception:: BadOptionUsageUpdated docs for upgrade information.Armin Ronacherbefore adoptionebde9a0
lines 151–175why, one step back151152Formatting153----------154155.. autoclass:: HelpFormatter156 :members:157158.. autofunction:: wrap_text159160Parsing161-------162163.. autoclass:: OptionParser164 :members:165166Testing167-------168169.. currentmodule:: click.testing170171.. autoclass:: CliRunner172 :members:173174.. autoclass:: Result175 :members: