This is a [starlette-app](https://yourlabs.io/oss/starlette-apps) that provides a CLI with a few basic Starlette commands, and which your other apps may extend.
.. literalinclude:: example.com :language: python
Help & runserver command:
Dumping urls and middlewares:
Install with:
pip install starlette-cli
Add a new command to the CLI with:
from starlette_cli import cli
@cli.cmd
def your_command(...):
"""Your documentation"""
Or, from within another starlette-app if you have one:
class YourApp(apps.App):
def setup(self):
self.project.apps['cli'].add(your_command)