We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fecc19d commit 8b6bd03Copy full SHA for 8b6bd03
src/bma_cli.py
@@ -64,6 +64,16 @@ def fileinfo(file_uuid: uuid.UUID) -> None:
64
click.echo(json.dumps(info))
65
66
67
+@app.command()
68
+def jobs() -> None:
69
+ """Get info on assigned jobs."""
70
+ client, config = init()
71
+ jobs = client.get_jobs(job_filter=f"?limit=0&finished=false&client_uuid={client.uuid}")
72
+ click.echo(json.dumps(jobs))
73
+ click.echo(f"Total {len(jobs)} unfinished jobs assigned to this client.")
74
+
75
76
77
@app.command()
78
def download(file_uuid: uuid.UUID) -> None:
79
"""Download a file."""
0 commit comments