clik-shellΒΆ

clik-shell is a tiny glue library between clik and cmd:

from clik import app
from clik_shell import DefaultShell


@app
def myapp():
    yield


# ... subcommands for myapp ...


@myapp
def shell():
    yield
    DefaultShell(myapp).cmdloop()

See the quickstart for more documentation on what clik-shell can do.