Skip to content

Commit b64b6ab

Browse files
authored
Displaying the Run ID after executing a workflow (#132)
1 parent c67f45e commit b64b6ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/execute/execute.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,9 @@ func run(cfg *Config) error {
265265
if err != nil {
266266
return fmt.Errorf("failed to create run: %w", err)
267267
}
268+
// The extra space aligns the Run ID with other fields displayed by the run watcher
269+
// The run ID is printed here because it should be displayed whether the run is watched or not
270+
fmt.Printf("%-18s %v\n", "Run ID:", *run.ID)
268271

269272
if cfg.DownloadAllNodes || len(cfg.NodesToDownload) > 0 {
270273
cfg.Watch = true

0 commit comments

Comments
 (0)