Skip to content
Myr

README

This file

Path

examples/complex/README

16 lines · 452 bytes

Last changed by

Merge pull request #153 from iKevinY/click-renameArmin Ronacherbefore adoption327cfde

History of this file

Take it

Added a complex example for plugin loading.Armin Ronacherbefore adoptiondb4b4b4

lines 1–6why, one step back
1$ complex_
23 complex is an example of building very complex cli4 applications that load subcommands dynamically from5 a plugin folder and other things.6

Updated README for complex appsArmin Ronacherbefore adoptionb26d02f

lines 7–10why, one step back
7 All the commands are implemented as plugins in the
8 `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 be

Merge pull request #153 from iKevinY/click-renameArmin Ronacherbefore adoption327cfde

line 11why, one step back
11 loaded as nested Click command.

Updated README for complex appsArmin Ronacherbefore adoptionb26d02f

line 12why, one step back
12

Added a complex example for plugin loading.Armin Ronacherbefore adoptiondb4b4b4

lines 13–16why, one step back
13Usage:
1415 $ pip install --editable .16 $ complex --help