Skip to content

Instantly share code, notes, and snippets.

View fitzy1321's full-sized avatar

Joe Fitzgibbons fitzy1321

View GitHub Profile
@fitzy1321
fitzy1321 / typer_example.py
Created August 21, 2025 05:57
Typer add `-h` flag
import typer
app = typer.Typer(context_settings={"help_options_names": ["-h","--help"]})
# ...
if __name__ == "__main__":
app()