<#820 feat: add stack and component autocompletion...
# atmos-dev
g
#820 feat: add stack and component autocompletion for commands Pull request opened by RoseSecurity what atmos_autocomplete • Refactor
pkg/list
functions to include configuration initialization so that the outputted component and stack lists could be easily used by Cobra valid argument functions and flag completion functions • Add
ValidArgsFunction
and
RegisterFlagCompletionFunc
for stacks and components in the following commands: •
atmos describe component
•
atmos describe dependents
•
atmos docs
•
atmos list components
•
atmos list stacks
•
atmos validate component
•
atmos vendor pull
why • Create a positive user experience by making it easier to view and autocomplete stacks and components testing • Conducted
make build
after each command autocompletion addition and tested references • Cobra Autocompletion Summary by CodeRabbit Release Notes • New Features • Enhanced command-line experience with autocompletion for component and stack names across multiple commands. • Bug Fixes • Improved error handling and messaging for various commands when fetching components and stacks. • Chores • Streamlined command logic by removing unnecessary initializations and focusing on core functionalities. cloudposse/atmos GitHub Actions: vhs GitHub Actions: release GitHub Actions: Acceptance Tests GitHub Actions: vhs ✅ 25 other checks have passed 25/29 successful checks
🙏 1