mirror of
https://github.com/YosysHQ/sby.git
synced 2025-08-18 10:52:18 +00:00
Add jsonl status format
Replace `--statuscsv` and `--livecsv` with `--statusfmt <fmt>` and `--live <fmt` respectively. Currently supports both csv and jsonl. In the case of `--live`, updates can be printed in multiple formats, while `--statusfmt` only supports one at a time.
This commit is contained in:
parent
ac120cee92
commit
3bf5be0637
5 changed files with 36 additions and 33 deletions
|
@ -29,8 +29,8 @@ def parser_func(release_version='unknown SBY version'):
|
|||
help="maximum number of processes to run in parallel")
|
||||
parser.add_argument("--sequential", action="store_true", dest="sequential",
|
||||
help="run tasks in sequence, not in parallel")
|
||||
parser.add_argument("--livecsv", action="store_true", dest="livecsv",
|
||||
help="print live updates of property statuses during task execution in csv format")
|
||||
parser.add_argument("--live", action="append", choices=["csv", "jsonl"], dest="live_formats",
|
||||
help="print live updates of property statuses during task execution, may be specified multiple times")
|
||||
|
||||
parser.add_argument("--autotune", action="store_true", dest="autotune",
|
||||
help="automatically find a well performing engine and engine configuration for each task")
|
||||
|
@ -77,8 +77,8 @@ def parser_func(release_version='unknown SBY version'):
|
|||
|
||||
parser.add_argument("--status", action="store_true", dest="status",
|
||||
help="summarize the contents of the status database")
|
||||
parser.add_argument("--statuscsv", action="store_true", dest="statuscsv",
|
||||
help="print the most recent status for each property in csv format")
|
||||
parser.add_argument("--statusfmt", action="store", default="", choices=["csv", "jsonl"], dest="status_format",
|
||||
help="print the most recent status for each property in specified format")
|
||||
parser.add_argument("--latest", action="store_true", dest="status_latest",
|
||||
help="only check statuses from the most recent run of a task")
|
||||
parser.add_argument("--statusreset", action="store_true", dest="status_reset",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue