api.rst
This file
Path
docs/api.rst
169 lines · 2.1 KiB
Last changed by
Added open_file to api docs.Armin Ronacherbefore adoption42d99d6
History of this fileTake it
The walk stopped after 200 commits: lines older than df428ca point at it.
Added changesArmin Ronacherbefore adoptiondf428ca
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 changesArmin Ronacherbefore adoptiondf428ca
lines 7–44why, 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:: confirm44Added changelog entry and docsArmin Ronacherbefore adoption12f50b4
lines 45–46why, one step back45.. autofunction:: progressbar46Added support for screen clearing.Armin Ronacherbefore adoption09ba1e9
lines 47–48why, one step back47.. 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:: getcharAdded changesArmin Ronacherbefore adoptiondf428ca
line 60why, one step back60Added click.pauseArmin Ronacherbefore adoptionc9eb780
lines 61–62why, one step back61.. autofunction:: pause62Added changesArmin Ronacherbefore adoptiondf428ca
lines 63–67why, one step back63.. autofunction:: get_terminal_size6465.. autofunction:: get_binary_stream6667.. autofunction:: get_text_streamAdded changelog entry and docsArmin Ronacherbefore adoption12f50b4
line 68why, one step back68Added open_file to api docs.Armin Ronacherbefore adoption42d99d6
lines 69–70why, one step back69.. autofunction:: open_file70Added changelog entry and docsArmin Ronacherbefore adoption12f50b4
line 71why, one step back71.. autofunction:: get_app_dirAdded getchar()Armin Ronacherbefore adoption88c97ef
lines 72–73why, one step back7273.. autofunction:: format_filenameAdded changesArmin Ronacherbefore adoptiondf428ca
lines 74–141why, 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:: UUID121122.. autoclass:: File123124.. autoclass:: Path125126.. autoclass:: Choice127128.. autoclass:: IntRange129130.. autoclass:: ParamType131 :members:132133Exceptions134----------135136.. autoexception:: ClickException137138.. autoexception:: Abort139140.. autoexception:: UsageError141Added support for BadParameter exceptions.Armin Ronacherbefore adoption1407ecb
lines 142–143why, one step back142.. autoexception:: BadParameter143Added changesArmin Ronacherbefore adoptiondf428ca
lines 144–169why, one step back144.. autoexception:: FileError145146Formatting147----------148149.. autoclass:: HelpFormatter150 :members:151152.. autofunction:: wrap_text153154Parsing155-------156157.. autoclass:: OptionParser158 :members:159160Testing161-------162163.. currentmodule:: click.testing164165.. autoclass:: CliRunner166 :members:167168.. autoclass:: Result169 :members: