Skip to content

Commit 0789e0f

Browse files
committed
feat(workflow.history): rawest → events
Signed-off-by: Yves Bastide <[email protected]>
1 parent 267f0a6 commit 0789e0f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

simpleflow/command.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,9 @@ def list_workflows(ctx, domain: str, status: str, started_since: int):
372372
@click.argument("run_id", required=False)
373373
@click.option(
374374
"--output-format",
375+
"-o",
375376
required=False,
376-
type=click.Choice(["rawest", "raw", "cooked"]),
377+
type=click.Choice(["events", "raw", "cooked"]),
377378
default="raw",
378379
help="Output format.",
379380
)
@@ -397,7 +398,7 @@ def workflow_history(
397398
callback=get_progression_callback("events"),
398399
reverse_order=reverse_order,
399400
)
400-
if output_format == "rawest":
401+
if output_format == "events":
401402
pass
402403
else:
403404
raw_history = BaseHistory.from_event_list(events)

0 commit comments

Comments
 (0)