Skip to content

Conversation

@DavidS-ovm
Copy link
Contributor

@DavidS-ovm DavidS-ovm commented Aug 13, 2024

This replaces most of https://github.com/overmindtech/cli/blob/main/cmd/root.go#L250-L377 (which is still used elsewhere for now).

Results:

2024-08-13_18MS+0200_1282x568

It's not fully 1/1 identical to the bubbletea behaviour, but it is SO. MUCH. LESS. CODE.

2024-08-14_16MS+0200_1057x139

@DavidS-ovm DavidS-ovm marked this pull request as draft August 13, 2024 16:04
Copy link
Member

@dylanratcliffe dylanratcliffe left a 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

@DavidS-ovm DavidS-ovm force-pushed the pterm-ensuretoken branch 3 times, most recently from 85f9fe6 to cf2bbee Compare August 14, 2024 14:12
@DavidS-ovm
Copy link
Contributor Author

Updated with the explore command. Still going strong.

@DavidS-ovm DavidS-ovm force-pushed the pterm-ensuretoken branch 3 times, most recently from 40e9114 to 9c10c4b Compare September 10, 2024 15:52
@DavidS-ovm
Copy link
Contributor Author

This will still require more work and fine-tuning before merging, but it already overmind terraform applyd successfully.

@DavidS-ovm DavidS-ovm linked an issue Sep 11, 2024 that may be closed by this pull request
17 tasks
@DavidS-ovm DavidS-ovm force-pushed the pterm-ensuretoken branch 3 times, most recently from 934cf98 to 5dea9f9 Compare September 18, 2024 10:27
@DavidS-ovm
Copy link
Contributor Author

This is now ready for final reviews.

@DavidS-ovm DavidS-ovm marked this pull request as ready for review September 19, 2024 15:39
@tphoney
Copy link
Member

tphoney commented Sep 19, 2024

I think that running through this tomorrow, showing off the updated commands is the way to go. Nothing is jumping out on visual inspection

@DavidS-ovm DavidS-ovm requested a review from tphoney September 20, 2024 13:59
Copy link
Member

@tphoney tphoney left a comment

Choose a reason for hiding this comment

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

:shipit:

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.
@DavidS-ovm
Copy link
Contributor Author

rebased on top of the latest go.mod changes

@dylanratcliffe
Copy link
Member

Screenshot 2024-09-20 at 17 57 33

Dat ratio

// exploreCmd represents the explore command
var exploreCmd = &cobra.Command{
Use: "explore",
Short: "Run local sources for using in the Explore page",
Copy link
Member

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

@dylanratcliffe dylanratcliffe merged commit 27146a0 into main Sep 23, 2024
@dylanratcliffe dylanratcliffe deleted the pterm-ensuretoken branch September 23, 2024 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

port overmind terraform plan/apply to PTerm

4 participants