Quickstart cat manage.py: from manage import Manager manager = Manager() @manager.command def echo(text, capitalyze=False): """print the given <name>""" if capitalyze: text = text.upper() return text manage --help: usage: manage [<namespace>.]<command> [<args>] positional arguments: command the command to run optional arguments: -h, --help show this help message and exit available commands: echo p