Skip to content
Myr

rename default branch in files

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent b700cf6 · Browse files · 5 files+15 added−15 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

5 files+15 added−15 removed

  • other:+15 added−15 removed

5 files+15 added−15 removed

modified:.github/workflows/tests.yaml+2 added-2 removed
modified:docs/advanced.rst+1 added-1 removed
11 unmodified lines
12Command Aliases13---------------1415Many tools support aliases for commands (see `Command alias example16<https://github.com/pallets/click/tree/master/examples/aliases>`_).16<https://github.com/pallets/click/tree/main/examples/aliases>`_).17For instance, you can configure ``git`` to accept ``git ci`` as alias for18``git commit``. Other tools also support auto-discovery for aliases by19automatically shortening them.20
464 unmodified lines
modified:docs/commands.rst+1 added-1 removed
420 unmodified lines
421:func:`open_file`.422423For a more complex example that also improves upon handling of the424pipelines have a look at the `imagepipe multi command chaining demo425<https://github.com/pallets/click/tree/master/examples/imagepipe>`__ in425<https://github.com/pallets/click/tree/main/examples/imagepipe>`__ in426the Click repository. It implements a pipeline based image editing tool427that has a nice internal structure for the pipelines.428429
142 unmodified lines
modified:docs/quickstart.rst+9 added-9 removed
95 unmodified lines
96Examples of Click applications can be found in the documentation as well97as in the GitHub repository together with readme files:9899* ``inout``: `File input and output100 <https://github.com/pallets/click/tree/master/examples/inout>`_100 <https://github.com/pallets/click/tree/main/examples/inout>`_101* ``naval``: `Port of docopt naval example102 <https://github.com/pallets/click/tree/master/examples/naval>`_102 <https://github.com/pallets/click/tree/main/examples/naval>`_103* ``aliases``: `Command alias example104 <https://github.com/pallets/click/tree/master/examples/aliases>`_104 <https://github.com/pallets/click/tree/main/examples/aliases>`_105* ``repo``: `Git-/Mercurial-like command line interface106 <https://github.com/pallets/click/tree/master/examples/repo>`_106 <https://github.com/pallets/click/tree/main/examples/repo>`_107* ``complex``: `Complex example with plugin loading108 <https://github.com/pallets/click/tree/master/examples/complex>`_108 <https://github.com/pallets/click/tree/main/examples/complex>`_109* ``validation``: `Custom parameter validation example110 <https://github.com/pallets/click/tree/master/examples/validation>`_110 <https://github.com/pallets/click/tree/main/examples/validation>`_111* ``colors``: `Color support demo112 <https://github.com/pallets/click/tree/master/examples/colors>`_112 <https://github.com/pallets/click/tree/main/examples/colors>`_113* ``termui``: `Terminal UI functions demo114 <https://github.com/pallets/click/tree/master/examples/termui>`_114 <https://github.com/pallets/click/tree/main/examples/termui>`_115* ``imagepipe``: `Multi command chaining demo116 <https://github.com/pallets/click/tree/master/examples/imagepipe>`_116 <https://github.com/pallets/click/tree/main/examples/imagepipe>`_117118Basic Concepts - Creating a Command119-----------------------------------120
179 unmodified lines
modified:CONTRIBUTING.rst+2 added-2 removed
139 unmodified lines
140 $ git fetch origin141 $ git checkout -b your-branch-name origin/7.x142143 If you're submitting a feature addition or change, branch off of the144 "master" branch.144 "main" branch.145146 .. code-block:: text147148 $ git fetch origin149 $ git checkout -b your-branch-name origin/master149 $ git checkout -b your-branch-name origin/main150151- Using your favorite editor, make your changes,152 `committing as you go`_.153- Include tests that cover any code changes you make. Make sure the
63 unmodified lines