refactor/data_backend #12
1 changed files with 13 additions and 13 deletions
commit
1c06383f76
|
|
@ -26,9 +26,9 @@ def update(
|
|||
str('./corrlib'),
|
||||
"--dataset",
|
||||
"-d",
|
||||
),
|
||||
),
|
||||
uuid: str = typer.Argument(),
|
||||
) -> None:
|
||||
) -> None:
|
||||
"""
|
||||
Update a project by it's UUID.
|
||||
"""
|
||||
|
|
@ -43,7 +43,7 @@ def list(
|
|||
"-d",
|
||||
),
|
||||
entities: str = typer.Argument('ensembles'),
|
||||
) -> None:
|
||||
) -> None:
|
||||
"""
|
||||
List entities. (ensembles, projects)
|
||||
"""
|
||||
|
|
@ -72,10 +72,10 @@ def alias_add(
|
|||
str('./corrlib'),
|
||||
"--dataset",
|
||||
"-d",
|
||||
),
|
||||
),
|
||||
uuid: str = typer.Argument(),
|
||||
alias: str = typer.Argument(),
|
||||
) -> None:
|
||||
) -> None:
|
||||
"""
|
||||
Add an alias to a project UUID.
|
||||
"""
|
||||
|
|
@ -90,11 +90,11 @@ def find(
|
|||
str('./corrlib'),
|
||||
"--dataset",
|
||||
"-d",
|
||||
),
|
||||
),
|
||||
ensemble: str = typer.Argument(),
|
||||
corr: str = typer.Argument(),
|
||||
code: str = typer.Argument(),
|
||||
) -> None:
|
||||
) -> None:
|
||||
"""
|
||||
Find a record in the backlog at hand. Through specifying it's ensemble and the measured correlator.
|
||||
"""
|
||||
|
|
@ -108,15 +108,15 @@ def importer(
|
|||
str('./corrlib'),
|
||||
"--dataset",
|
||||
"-d",
|
||||
),
|
||||
),
|
||||
files: str = typer.Argument(
|
||||
),
|
||||
),
|
||||
copy_file: bool = typer.Option(
|
||||
bool(True),
|
||||
"--save",
|
||||
"-s",
|
||||
),
|
||||
) -> None:
|
||||
),
|
||||
) -> None:
|
||||
"""
|
||||
Import a project from a .toml-file via CLI.
|
||||
"""
|
||||
|
|
@ -190,6 +190,6 @@ def main(
|
|||
help="Show the application's version and exit.",
|
||||
callback=_version_callback,
|
||||
is_eager=True,
|
||||
)
|
||||
) -> None:
|
||||
)
|
||||
) -> None:
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue