Skip to content
Myr

README

This file

Path

examples/complex/README

16 lines · 452 bytes

Last changed by

Updated README for complex appsArmin Ronacherbefore adoptionb26d02f

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–12why, 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 be11 loaded as nested click command.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