<#825 Any usage of --help should not require stack...
# atmos-dev
g
#825 Any usage of --help should not require stack configurations Pull request opened by Listener430 what Checked all commands that --help usage doesn't require stack configurations. Here is the summary modules_issues_status Please note - had to make func ProcessCommandLineArgs exportable for use to check for help flag earlier in terraform and helmfile, thus all the changes in the rest of exec files (changed p to capital). Found out that terraform and helmfile modules indeed have the issue (i.e. check configs before showing help + version). This is how it looked before for terrafrom broken_terraaform And the same issue is with helmfile broken_helmfile After the fix for terraform terraform_fixed_1_of_2 terraform_fixed_2_of_2 And fixed for helmfile looks like this helmfile_fixed why We need to show help message and version/upgrade information irrespective if configs are in place or not. references Linear issue - <url|https://linear.app/cloudposse/issue/DEV-2797/any-usage-of-help-should-not-require-stack-configurations> Summary by CodeRabbit Release Notes • New Features • Introduced a new function for printing upgrade messages with styled output, enhancing user experience when updates are available. • Improvements • Enhanced command-line argument processing across various commands, improving error handling and visibility of functions. • Added version checking logic to prompt users for upgrades when newer versions are available. • Bug Fixes • Streamlined error handling and control flow in multiple command execution functions, ensuring consistent behavior. • Documentation • Improved comments and formatting for better code readability and understanding. cloudposse/atmos GitHub Actions: vhs GitHub Actions: vhs GitHub Actions: release GitHub Actions: vhs ✅ 26 other checks have passed 26/30 successful checks
e
@Andriy Knysh (Cloud Posse) please review