From c1aef6cdf262d968b632d1b20e28ea0e7269dce5 Mon Sep 17 00:00:00 2001 From: Justus Kuhlmann Date: Thu, 4 Dec 2025 12:39:30 +0100 Subject: [PATCH] expose tracker option in cli --- corrlib/cli.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/corrlib/cli.py b/corrlib/cli.py index 6f0d8cf..e9e8ebc 100644 --- a/corrlib/cli.py +++ b/corrlib/cli.py @@ -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. """