-
Notifications
You must be signed in to change notification settings - Fork 3
Port "ensureToken" over to PTerm #523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
8737bfd to
7fdfbd7
Compare
dylanratcliffe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's way easier to understand from my perspective
85f9fe6 to
cf2bbee
Compare
|
Updated with the |
cf2bbee to
4d00fc8
Compare
40e9114 to
9c10c4b
Compare
|
This will still require more work and fine-tuning before merging, but it already |
934cf98 to
5dea9f9
Compare
f5f6cff to
6eeb4fe
Compare
|
This is now ready for final reviews. |
|
I think that running through this tomorrow, showing off the updated commands is the way to go. Nothing is jumping out on visual inspection |
4168c35 to
e469f1d
Compare
tphoney
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
![]()
Run sources locally using terraform's configured authorization to provide data when using https://app.overmind.tech/explore
this removes some effort from callers and allows a consistent look across all of them, while preserving the flexibility to pass in a custom writer to exactly control where the spinner goes.
…output Commands like submit-plan expect stdout to be clean to pass change-url through when being used in the github action. This ensures that progress information is a) displayed in CI and b) does not interfere with that usage. Commands that are meant to be used interactively can provide their own writer, like the `terraform` subcommands do.
695b8f8 to
071861e
Compare
|
rebased on top of the latest go.mod changes |
| // exploreCmd represents the explore command | ||
| var exploreCmd = &cobra.Command{ | ||
| Use: "explore", | ||
| Short: "Run local sources for using in the Explore page", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it should block the merge but I'd like @jameslaneovermind to look at the descriptions here and jazz them up a bit

This replaces most of https://github.com/overmindtech/cli/blob/main/cmd/root.go#L250-L377 (which is still used elsewhere for now).
Results:
It's not fully 1/1 identical to the bubbletea behaviour, but it is SO. MUCH. LESS. CODE.