DEBSOURCES
Skip Quicknav
sources / typer / 0.19.2-1 / tests / test_completion / path_example.py
1234567891011121314
from pathlib import Path import typer app = typer.Typer() @app.command() def f(p: Path): print(p) if __name__ == "__main__": app()