Skip to content
Snippets Groups Projects
Commit 9b89ca43 authored by Iziram's avatar Iziram
Browse files

gen_api_map : commentaire + généralisation

parent de47277e
Branches
No related tags found
No related merge requests found
...@@ -724,7 +724,13 @@ def generate_ens_calendars(): # generate-ens-calendars ...@@ -724,7 +724,13 @@ def generate_ens_calendars(): # generate-ens-calendars
@app.cli.command() @app.cli.command()
@click.option(
"-e",
"--endpoint",
default="api",
help="Endpoint à partir duquel générer la carte des routes",
)
@with_appcontext @with_appcontext
def gen_api_map(): def gen_api_map(endpoint):
"""Show the API map""" """Génère la carte des routes de l'API."""
tools.gen_api_map(app) tools.gen_api_map(app, endpoint_start=endpoint)
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment