Commit eda1fc20 authored by ∞'s avatar 💻


parent b25ee46f
Pipeline #1798 passed with stages
in 35 seconds
......@@ -11,6 +11,7 @@ Sometimes I just want to define a new command and expose all callables in a
module and I can't just do it with a one-liner. cli2 unfrustrates me::
console_script = cli2.ConsoleScript(__doc__).add_module('mymodule')
# then i add console_script entrypoint as such: mycmd = mycmd.console_script
I also like when readonly commands are in green, writing commands in yellow and
destructive commands in red, I find the commands list in the help output more
......@@ -51,3 +52,7 @@ has changed.
You should be able tho pip install cli2 and start using the cli2 command, or
cli2.ConsoleScript to make your own commands.
Projects using cli2 so far:
- `djcli<>`_,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment