Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

CLI display improvements to operations #3081

Merged
merged 2 commits into from
Mar 8, 2022
Merged

CLI display improvements to operations #3081

merged 2 commits into from
Mar 8, 2022

Conversation

izaaklauer
Copy link
Contributor

Currently, when you run an operation on the CLI, there's no great way to know later which operation you just ran. I.e. you can run waypoint build, and later run waypoint artifact list-builds and assume the highest-numbered build is the one you just created, but you can't really know for sure. This also makes it hard to correlate between the CLI and the UI.

This change adds a new step group, printing ⠏ Running build v18, or ⠏ Running deploy v3, or equivalent, to every operation. It completes when the full op completes.

For artifacts in particular, this also prints the id of the produced artifact, if any (which is distinct from the build)

Example:

Screen Shot 2022-03-08 at 3 56 31 PM

Screen Shot 2022-03-08 at 3 56 50 PM

@izaaklauer izaaklauer requested a review from a team March 8, 2022 20:59
@github-actions github-actions bot added the core label Mar 8, 2022
Copy link
Contributor

@mitchellh mitchellh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@izaaklauer izaaklauer merged commit 6d7d007 into main Mar 8, 2022
@izaaklauer izaaklauer deleted the cli-display-id-seq branch March 8, 2022 22:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants