Skip to content
Myr

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 file

Take it

The walk stopped after 200 commits: lines older than 88c97ef point at it.

Added getchar()Armin Ronacherbefore adoption88c97ef

lines 1–5why, one step back
1API
2===34.. module:: click5

Merge pull request #113 from iKevinY/doc-fixesArmin Ronacherbefore adoptione0ea94a

line 6why, one step back
6This part of the documentation lists the full API reference of all public

Added getchar()Armin Ronacherbefore adoption88c97ef

lines 7–60why, one step back
7classes 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:: getchar60

Added click.pauseArmin Ronacherbefore adoptionc9eb780

lines 61–62why, one step back
61.. autofunction:: pause
62

Added getchar()Armin Ronacherbefore adoption88c97ef

lines 63–68why, one step back
63.. autofunction:: get_terminal_size
6465.. autofunction:: get_binary_stream6667.. autofunction:: get_text_stream68

Added open_file to api docs.Armin Ronacherbefore adoption42d99d6

lines 69–70why, one step back
69.. autofunction:: open_file
70

Added getchar()Armin Ronacherbefore adoption88c97ef

lines 71–108why, one step back
71.. autofunction:: get_app_dir
7273.. 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:108

Documented the use of get_current_contextArmin Ronacherbefore adoption421e46a

lines 109–110why, one step back
109.. autofunction:: get_current_context
110

Added getchar()Armin Ronacherbefore adoption88c97ef

lines 111–123why, one step back
111Types
112-----113114.. autodata:: STRING115116.. autodata:: INT117118.. autodata:: FLOAT119120.. autodata:: BOOL121122.. autodata:: UUID123

Added missing new types to the docs.Armin Ronacherbefore adoptionf239511

lines 124–125why, one step back
124.. autodata:: UNPROCESSED
125

Added getchar()Armin Ronacherbefore adoption88c97ef

lines 126–133why, one step back
126.. autoclass:: File
127128.. autoclass:: Path129130.. autoclass:: Choice131132.. autoclass:: IntRange133

Added support for tuple types. This fixes #239Armin Ronacherbefore adoptionf7c124e

lines 134–135why, one step back
134.. autoclass:: Tuple
135

Added getchar()Armin Ronacherbefore adoption88c97ef

lines 136–150why, one step back
136.. autoclass:: ParamType
137 :members:138139Exceptions140----------141142.. autoexception:: ClickException143144.. autoexception:: Abort145146.. autoexception:: UsageError147148.. autoexception:: BadParameter149150.. autoexception:: FileError

Added missing new types to the docs.Armin Ronacherbefore adoptionf239511

lines 151–154why, one step back
151
152.. autoexception:: NoSuchOption153154.. autoexception:: BadOptionUsage

Added getchar()Armin Ronacherbefore adoption88c97ef

lines 155–179why, one step back
155
156Formatting157----------158159.. autoclass:: HelpFormatter160 :members:161162.. autofunction:: wrap_text163164Parsing165-------166167.. autoclass:: OptionParser168 :members:169170Testing171-------172173.. currentmodule:: click.testing174175.. autoclass:: CliRunner176 :members:177178.. autoclass:: Result179 :members: