Merge pull request 'Breaking change for CLI: change default path to current directory' (#38) from cli/default_path into develop
All checks were successful
Mypy / mypy (push) Successful in 1m11s
Pytest / pytest (3.12) (push) Successful in 1m17s
Pytest / pytest (3.13) (push) Successful in 1m8s
Pytest / pytest (3.14) (push) Successful in 1m13s
Ruff / ruff (push) Successful in 58s

Reviewed-on: #38
This commit is contained in:
Justus Kuhlmann 2026-05-06 09:14:40 +02:00
commit b3ead47adb

View file

@ -29,7 +29,7 @@ def _version_callback(value: bool) -> None:
@app.command() @app.command()
def update( def update(
path: Path = typer.Option( path: Path = typer.Option(
Path('./corrlib'), Path('.'),
"--dataset", "--dataset",
"-d", "-d",
), ),
@ -45,7 +45,7 @@ def update(
@app.command() @app.command()
def lister( def lister(
path: Path = typer.Option( path: Path = typer.Option(
Path('./corrlib'), Path('.'),
"--dataset", "--dataset",
"-d", "-d",
), ),
@ -76,7 +76,7 @@ def lister(
@app.command() @app.command()
def alias_add( def alias_add(
path: Path = typer.Option( path: Path = typer.Option(
Path('./corrlib'), Path('.'),
"--dataset", "--dataset",
"-d", "-d",
), ),
@ -94,7 +94,7 @@ def alias_add(
@app.command() @app.command()
def find( def find(
path: Path = typer.Option( path: Path = typer.Option(
Path('./corrlib'), Path('.'),
"--dataset", "--dataset",
"-d", "-d",
), ),
@ -123,7 +123,7 @@ def find(
@app.command() @app.command()
def stat( def stat(
path: Path = typer.Option( path: Path = typer.Option(
Path('./corrlib'), Path('.'),
"--dataset", "--dataset",
"-d", "-d",
), ),
@ -142,7 +142,7 @@ def stat(
@app.command() @app.command()
def check(path: Path = typer.Option( def check(path: Path = typer.Option(
Path('./corrlib'), Path('.'),
"--dataset", "--dataset",
"-d", "-d",
), ),
@ -153,7 +153,7 @@ def check(path: Path = typer.Option(
@app.command() @app.command()
def importer( def importer(
path: Path = typer.Option( path: Path = typer.Option(
Path('./corrlib'), Path('.'),
"--dataset", "--dataset",
"-d", "-d",
), ),
@ -176,7 +176,7 @@ def importer(
@app.command() @app.command()
def reimporter( def reimporter(
path: Path = typer.Option( path: Path = typer.Option(
Path('./corrlib'), Path('.'),
"--dataset", "--dataset",
"-d", "-d",
), ),
@ -200,7 +200,7 @@ def reimporter(
@app.command() @app.command()
def init( def init(
path: Path = typer.Option( path: Path = typer.Option(
Path('./corrlib'), Path('.'),
"--dataset", "--dataset",
"-d", "-d",
), ),
@ -220,7 +220,7 @@ def init(
@app.command() @app.command()
def drop_cache( def drop_cache(
path: Path = typer.Option( path: Path = typer.Option(
Path('./corrlib'), Path('.'),
"--dataset", "--dataset",
"-d", "-d",
), ),