Skip to content
Myr

api.rst

This file

Path

docs/api.rst

177 lines · 2.2 KiB

Last changed by

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

History of this file

Take 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 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

Updated docs for upgrade information.Armin Ronacherbefore adoptionebde9a0

lines 7–48why, 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:: clear48

Added style and unstyle to docs.Armin Ronacherbefore adoption22241e4

lines 49–52why, one step back
49.. autofunction:: style
5051.. autofunction:: unstyle52

Added sechoArmin Ronacherbefore adoption97f942c

lines 53–54why, one step back
53.. autofunction:: secho
54

Added an edit function.Armin Ronacherbefore adoption721e527

lines 55–56why, one step back
55.. autofunction:: edit
56

Added click.launchArmin Ronacherbefore adoptionba36392

lines 57–58why, one step back
57.. autofunction:: launch
58

Added getchar()Armin Ronacherbefore adoption88c97ef

line 59why, one step back
59.. autofunction:: getchar

Updated docs for upgrade information.Armin Ronacherbefore adoptionebde9a0

line 60why, one step back
60

Added click.pauseArmin Ronacherbefore adoptionc9eb780

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

Updated docs for upgrade information.Armin Ronacherbefore adoptionebde9a0

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

Updated docs for upgrade information.Armin Ronacherbefore adoptionebde9a0

line 71why, one step back
71.. autofunction:: get_app_dir

Added getchar()Armin Ronacherbefore adoption88c97ef

lines 72–73why, one step back
72
73.. autofunction:: format_filename

Updated docs for upgrade information.Armin Ronacherbefore adoptionebde9a0

lines 74–121why, one step back
74
75Commands76--------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:: UUID121

Added missing new types to the docs.Armin Ronacherbefore adoptionf239511

lines 122–123why, one step back
122.. autodata:: UNPROCESSED
123

Updated docs for upgrade information.Armin Ronacherbefore adoptionebde9a0

lines 124–131why, one step back
124.. autoclass:: File
125126.. autoclass:: Path127128.. autoclass:: Choice129130.. autoclass:: IntRange131

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

lines 132–133why, one step back
132.. autoclass:: Tuple
133

Updated docs for upgrade information.Armin Ronacherbefore adoptionebde9a0

lines 134–148why, one step back
134.. autoclass:: ParamType
135 :members:136137Exceptions138----------139140.. autoexception:: ClickException141142.. autoexception:: Abort143144.. autoexception:: UsageError145146.. autoexception:: BadParameter147148.. autoexception:: FileError

Added missing new types to the docs.Armin Ronacherbefore adoptionf239511

lines 149–152why, one step back
149
150.. autoexception:: NoSuchOption151152.. autoexception:: BadOptionUsage

Updated docs for upgrade information.Armin Ronacherbefore adoptionebde9a0

lines 153–177why, one step back
153
154Formatting155----------156157.. autoclass:: HelpFormatter158 :members:159160.. autofunction:: wrap_text161162Parsing163-------164165.. autoclass:: OptionParser166 :members:167168Testing169-------170171.. currentmodule:: click.testing172173.. autoclass:: CliRunner174 :members:175176.. autoclass:: Result177 :members: