Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore cli default cloud and allow opting into interactive selection (…
…pixie-io#1991) Summary: Restore cli default cloud and allow opting into interactive selection We've received feedback from users that is confusing to no longer have a default cloud for the pixie cli. This change restores the previous behavior and picks the alphabetically first option as the default (per [CNCF requirements](https://github.com/cncf/foundation/blob/42bc2197cce2f58b31eae5f5067f0fd04ab73482/website-guidelines.md)). Users can pick from the available clouds through the new `--interactive_cloud_select` flag. Relevant Issues: N/A Type of change: /kind cleanup Test Plan: Verified the following scenarios - [x] `px get viziers` uses default cloud - [x] `px get --interactive_cloud_select viziers` lists the available clouds and uses the selected valueq ``` $ ./px --interactive_cloud_select get viziers Pixie CLI ✔ withpixie.ai:443 Failed to authenticate. Please retry `px auth login`. ``` Signed-off-by: Dom Del Nano <[email protected]> GitOrigin-RevId: 33f0daf
- Loading branch information