api.rst
This file
Path
docs/api.rst
179 lines · 2.3 KiB
Last changed by
Documented the use of get_current_contextArmin Ronacherbefore adoption421e46a
History of this fileTake it
The walk stopped after 200 commits: lines older than 88c97ef point at it.
Added getchar()Armin Ronacherbefore adoption88c97ef
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 publicAdded getchar()Armin Ronacherbefore adoption88c97ef
lines 7–60why, 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:: clear4849.. autofunction:: style5051.. autofunction:: unstyle5253.. autofunction:: secho5455.. autofunction:: edit5657.. autofunction:: launch5859.. autofunction:: getchar60Added click.pauseArmin Ronacherbefore adoptionc9eb780
lines 61–62why, one step back61.. autofunction:: pause62Added getchar()Armin Ronacherbefore adoption88c97ef
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_file70Added getchar()Armin Ronacherbefore adoption88c97ef
lines 71–108why, one step back71.. autofunction:: get_app_dir7273.. autofunction:: format_filename7475Commands76--------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:108Documented the use of get_current_contextArmin Ronacherbefore adoption421e46a
lines 109–110why, one step back109.. autofunction:: get_current_context110Added getchar()Armin Ronacherbefore adoption88c97ef
lines 111–123why, one step back111Types112-----113114.. autodata:: STRING115116.. autodata:: INT117118.. autodata:: FLOAT119120.. autodata:: BOOL121122.. autodata:: UUID123Added missing new types to the docs.Armin Ronacherbefore adoptionf239511
lines 124–125why, one step back124.. autodata:: UNPROCESSED125Added getchar()Armin Ronacherbefore adoption88c97ef
lines 126–133why, one step back126.. autoclass:: File127128.. autoclass:: Path129130.. autoclass:: Choice131132.. autoclass:: IntRange133Added support for tuple types. This fixes #239Armin Ronacherbefore adoptionf7c124e
lines 134–135why, one step back134.. autoclass:: Tuple135Added getchar()Armin Ronacherbefore adoption88c97ef
lines 136–150why, one step back136.. autoclass:: ParamType137 :members:138139Exceptions140----------141142.. autoexception:: ClickException143144.. autoexception:: Abort145146.. autoexception:: UsageError147148.. autoexception:: BadParameter149150.. autoexception:: FileErrorAdded missing new types to the docs.Armin Ronacherbefore adoptionf239511
lines 151–154why, one step back151152.. autoexception:: NoSuchOption153154.. autoexception:: BadOptionUsageAdded getchar()Armin Ronacherbefore adoption88c97ef
lines 155–179why, one step back155156Formatting157----------158159.. autoclass:: HelpFormatter160 :members:161162.. autofunction:: wrap_text163164Parsing165-------166167.. autoclass:: OptionParser168 :members:169170Testing171-------172173.. currentmodule:: click.testing174175.. autoclass:: CliRunner176 :members:177178.. autoclass:: Result179 :members: