make run id positional in get

This commit is contained in:
gmega 2024-02-08 15:16:13 -03:00
parent d83bf8fdbb
commit 729c4d9867
No known key found for this signature in database
GPG Key ID: FFD8DAF00660270F
2 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ def _add_get_cli(subparsers):
get_namespaces.add_argument('--prefix', help='filter namespaces by prefix') get_namespaces.add_argument('--prefix', help='filter namespaces by prefix')
get_namespaces = get_subparsers.add_parser('runs', help='display current test runs') get_namespaces = get_subparsers.add_parser('runs', help='display current test runs')
get_namespaces.add_argument('--run-id', help='show test runs for the given run id', required=True) get_namespaces.add_argument('run_id', help='show test runs for the given run id')
get_namespaces.add_argument('--failed-only', action='store_true', help='show only failed test runs') get_namespaces.add_argument('--failed-only', action='store_true', help='show only failed test runs')
get_namespaces.add_argument('--from', type=tsparser.parse, get_namespaces.add_argument('--from', type=tsparser.parse,
help='show test runs starting at the given date ' help='show test runs starting at the given date '

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "logtools" name = "logtools"
version = "1.2.0" version = "1.2.1"
description = "" description = ""
authors = ["gmega <giuliano@status.im>"] authors = ["gmega <giuliano@status.im>"]
readme = "README.md" readme = "README.md"