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