diff --git a/fastapi_template/cli.py b/fastapi_template/cli.py index 41f4aad..8242d46 100644 --- a/fastapi_template/cli.py +++ b/fastapi_template/cli.py @@ -380,6 +380,7 @@ def checker(ctx: BuilderContext) -> bool: code="add_dummy", cli_name="dummy", user_view="Add dummy model", + is_hidden=lambda ctx: ctx.orm == "none", description=( "This option creates {what} as an example of how to use chosen ORM.\n" "Also this option will generate you an example of {dao}.".format(