Implement `atmos list` command for listing stacks and components @RoseSecurity (#797)
what
- Implement
atmos list
commands for listing stacks and components
- Incorporates custom
list
commands into Atmos - Updates documentation and website
- Removes
atmos.yaml
references to custom list command
why
- While the custom Atmos commands for listing stacks and components are great, incorporating the command into Atmos is far more efficient and parallelized, achieving similar or better results in 0.741 seconds compared to 8.131 seconds for the custom command
testing
- Listing all stacks in
quick-start-advanced
❯ atmos list stacks
plat-ue2-dev
plat-ue2-prod
plat-ue2-staging
plat-uw2-dev
plat-uw2-prod
plat-uw2-staging
- Listing all stacks by component
❯ ./atmos list stacks -c vpc-flow-logs-bucket
plat-ue2-dev
plat-ue2-prod
plat-ue2-staging
plat-uw2-dev
plat-uw2-prod
plat-uw2-staging
- Listing stacks for non-existent component
❯ ./atmos list stacks -c test
No stacks found for component 'test'
- Listing all components
❯ ./atmos list components
vpc
vpc-flow-logs-bucket
- Listing components by stack
❯ ./atmos list components -s plat-ue2-prod
vpc
vpc-flow-logs-bucket
- Listing components by invalid stack
❯ ./atmos list components -s invalid-stack
Error: stack 'invalid-stack' not found