-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
validate command prints usage when used like documented? #781
Comments
This is a regression. We will get it fixed ASAP. |
@aknysh not able to found the regression checking this https://raw.githubusercontent.com/cloudposse/atmos/b53d696375a6716b2fd0bc024fb1861b46c78bb5/internal/exec/validate_stacks.go maybe you can point out the root cause for this? also silence usage from cobra can be a viable option on this case |
@Cerebrovinny i'll check it and let you know |
This was resolved as part of: |
These changes were released in v1.119.0. |
Unfortunately that PR didn't fix this issue:
|
The changelog for v1.132.0 has the entry "Do not show help when executing |
Describe the Bug
We bumped from 1.90.0 to 1.105.0. Our CI uses
atmos validate component <component> --stack <stack>
With 1.105.0 (and 1.106.0) we now get the commands usage printed instead/additionally:
So it looks like some validation still took place and it was successfull.
Expected Behavior
Exit code 0 on successfull validation, some other number otherwise. No usage gets printed to the screen.
Steps to Reproduce
Run
atmos validate component <component> --stack <stack>
as documented via--help
.Screenshots
No response
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: