Merge pull request 'Breaking change for CLI: change default path to current directory' (#38) from cli/default_path into develop
Reviewed-on: #38
This commit is contained in:
commit
b3ead47adb
1 changed files with 10 additions and 10 deletions
|
|
@ -29,7 +29,7 @@ def _version_callback(value: bool) -> None:
|
|||
@app.command()
|
||||
def update(
|
||||
path: Path = typer.Option(
|
||||
Path('./corrlib'),
|
||||
Path('.'),
|
||||
"--dataset",
|
||||
"-d",
|
||||
),
|
||||
|
|
@ -45,7 +45,7 @@ def update(
|
|||
@app.command()
|
||||
def lister(
|
||||
path: Path = typer.Option(
|
||||
Path('./corrlib'),
|
||||
Path('.'),
|
||||
"--dataset",
|
||||
"-d",
|
||||
),
|
||||
|
|
@ -76,7 +76,7 @@ def lister(
|
|||
@app.command()
|
||||
def alias_add(
|
||||
path: Path = typer.Option(
|
||||
Path('./corrlib'),
|
||||
Path('.'),
|
||||
"--dataset",
|
||||
"-d",
|
||||
),
|
||||
|
|
@ -94,7 +94,7 @@ def alias_add(
|
|||
@app.command()
|
||||
def find(
|
||||
path: Path = typer.Option(
|
||||
Path('./corrlib'),
|
||||
Path('.'),
|
||||
"--dataset",
|
||||
"-d",
|
||||
),
|
||||
|
|
@ -123,7 +123,7 @@ def find(
|
|||
@app.command()
|
||||
def stat(
|
||||
path: Path = typer.Option(
|
||||
Path('./corrlib'),
|
||||
Path('.'),
|
||||
"--dataset",
|
||||
"-d",
|
||||
),
|
||||
|
|
@ -142,7 +142,7 @@ def stat(
|
|||
|
||||
@app.command()
|
||||
def check(path: Path = typer.Option(
|
||||
Path('./corrlib'),
|
||||
Path('.'),
|
||||
"--dataset",
|
||||
"-d",
|
||||
),
|
||||
|
|
@ -153,7 +153,7 @@ def check(path: Path = typer.Option(
|
|||
@app.command()
|
||||
def importer(
|
||||
path: Path = typer.Option(
|
||||
Path('./corrlib'),
|
||||
Path('.'),
|
||||
"--dataset",
|
||||
"-d",
|
||||
),
|
||||
|
|
@ -176,7 +176,7 @@ def importer(
|
|||
@app.command()
|
||||
def reimporter(
|
||||
path: Path = typer.Option(
|
||||
Path('./corrlib'),
|
||||
Path('.'),
|
||||
"--dataset",
|
||||
"-d",
|
||||
),
|
||||
|
|
@ -200,7 +200,7 @@ def reimporter(
|
|||
@app.command()
|
||||
def init(
|
||||
path: Path = typer.Option(
|
||||
Path('./corrlib'),
|
||||
Path('.'),
|
||||
"--dataset",
|
||||
"-d",
|
||||
),
|
||||
|
|
@ -220,7 +220,7 @@ def init(
|
|||
@app.command()
|
||||
def drop_cache(
|
||||
path: Path = typer.Option(
|
||||
Path('./corrlib'),
|
||||
Path('.'),
|
||||
"--dataset",
|
||||
"-d",
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue