overmindtech / cli

Identify the blast radius and risks for Terraform changes in real time
https://overmind.tech/
Other
162 stars 3 forks source link

Port "ensureToken" over to PTerm #523

Open DavidS-ovm opened 1 month ago

DavidS-ovm commented 1 month ago

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 commented 1 month ago

Updated with the explore command. Still going strong.

DavidS-ovm commented 3 days ago

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