diff --git a/compose_viz/cli.py b/compose_viz/cli.py index d2bf1d3..00c1ddd 100644 --- a/compose_viz/cli.py +++ b/compose_viz/cli.py @@ -27,23 +27,23 @@ def _version_callback(value: bool) -> None: @app.callback() def compose_viz( input_path: str, - output_path: Optional[str] = typer.Option( - None, - "--output_path", + output_path: str = typer.Option( + "./compose-viz.png", + "--output-path", "-o", - help="Output path for the generated visualization.", + help="Output path for the generated visualization file.", ), format: VisualizationFormats = typer.Option( "PNG", "--format", "-m", - help="Output format for the generated visualization.", + help="Output format for the generated visualization file.", ), _: Optional[bool] = typer.Option( None, "--version", "-v", - help="Show the version of compose_viz.", + help="Show the version of compose-viz.", callback=_version_callback, is_eager=True, ) @@ -58,4 +58,4 @@ def compose_viz( def start_cli() -> None: - app(prog_name=__app_name__) + app(prog_name="cpv")