Skip to content
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

Atmos UX #508

Merged
merged 80 commits into from
Jan 14, 2024
Merged

Atmos UX #508

merged 80 commits into from
Jan 14, 2024

Conversation

aknysh
Copy link
Member

@aknysh aknysh commented Jan 13, 2024

what

  • Atmos UX for atmos and atmos help CLI commands

  • Other fixes and improvements to the atmos CLI and the docs:

    • Detect the error exit code from the executed command and exit with that exit code

    • Minor fixes and improvements in the docs

why

  • Detect the error exit code from the executed command and exit with that exit code (instead of always exiting with the exit code 1). This will allow, for example, using the Terraform flag --detailed-exitcode and the exit codes form the terraform commands when executing atmos terraform commands

  • Atmos UX to make the user experience with the atmos CLI better and faster

  • Just run atmos command to start an interactive UI in the terminal to select an Atmos component and stack and a command to execute. Press Enter to execute the selected command for the selected component and stack

  • Use the right/left arrow keys to navigate between the "Commands", "Stacks" and "Components" views

  • Use the up/down arrow keys to select a command to execute, component and stack

  • Use the / key to filter/search for the commands, components, and stacks in the corresponding views

  • Use the Tab key to flip the "Stacks" and "Components" views. This is useful to be able to use the UI in two different modes:

    • Mode 1: Components in Stacks. Display all available stacks, select a stack, then show all the components that are defined in the selected stack

    • Mode 2: Stacks for Components. Display all available components, select a component, then show all the stacks where the selected component is configured

  • Press Enter to execute the selected command for the selected stack and component

Example

Mode 1: Components in Stacks

image

Mode 2: Stacks for Components

image


  • Run atmos help to start an interactive help UI in the terminal

image


@aknysh aknysh merged commit 1799a7e into master Jan 14, 2024
7 of 8 checks passed
@aknysh aknysh deleted the ux-1 branch January 14, 2024 03:22
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.

2 participants