We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a89644 commit 3b2522eCopy full SHA for 3b2522e
cli.py
@@ -128,4 +128,11 @@ def cmd_cleanup(
128
typer.echo(f"Total entities {'to delete' if dry_run else 'deleted'}: {deleted_sum}")
129
130
if __name__ == "__main__":
131
+ import sys
132
+
133
+ # If invoked with no subcommand/arguments, show help (list available commands/options)
134
+ if len(sys.argv) == 1:
135
+ # append --help so Typer/Click prints the global help instead of raising Missing command
136
+ sys.argv.append("--help")
137
138
app()
0 commit comments