expose tracker option in cli
This commit is contained in:
parent
821bc14f4b
commit
c1aef6cdf2
1 changed files with 10 additions and 5 deletions
|
|
@ -152,12 +152,17 @@ def init(
|
||||||
str('./corrlib'),
|
str('./corrlib'),
|
||||||
"--dataset",
|
"--dataset",
|
||||||
"-d",
|
"-d",
|
||||||
),
|
),
|
||||||
) -> None:
|
tracker: str = typer.Option(
|
||||||
|
str('datalad'),
|
||||||
|
"--tracker",
|
||||||
|
"-t",
|
||||||
|
),
|
||||||
|
) -> None:
|
||||||
"""
|
"""
|
||||||
Initialize a new backlog-database.
|
Initialize a new backlog-database.
|
||||||
"""
|
"""
|
||||||
create(path)
|
create(path, tracker)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -167,8 +172,8 @@ def drop_cache(
|
||||||
str('./corrlib'),
|
str('./corrlib'),
|
||||||
"--dataset",
|
"--dataset",
|
||||||
"-d",
|
"-d",
|
||||||
),
|
),
|
||||||
) -> None:
|
) -> None:
|
||||||
"""
|
"""
|
||||||
Drop the currect cache directory of the dataset.
|
Drop the currect cache directory of the dataset.
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue