Skip to content
Myr

Updated readme

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

authored by Armin Ronacher · committed by Armin Ronacher · parent fdb0a8c · Browse files · 1 file+11 added−10 removed
This commit

State

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

Diff stats

1 file+11 added−10 removed

  • other:+11 added−10 removed

1 file+11 added−10 removed

modified:examples/aliases/README+11 added-10 removed
1$ complex_1$ aliases_23 complex is an example of building very complex cli4 applications that load subcommands dynamically from5 a plugin folder and other things.3 aliases is a fairly advanced example that shows how4 to implement command aliases with click. It uses a5 subclass of the default group to customize how commands6 are located.77 All the commands are implemented as plugins in the8 `complex.commands` package. If a python module is9 placed named "cmd_foo" it will show up as "foo"10 command and the `cli` object within it will be11 loaded as nested click command.8 It supports both aliases read from a config file as well9 as automatic abbreviations.1011 The aliases from the config are read from the aliases.ini12 file. Try `aliases st` and `aliases ci`!1314Usage:1516 $ pip install --editable .16 $ complex --help17 $ aliases --help