Open MAHDTech opened 1 year ago
Hey @MAHDTech! Thanks for pointing this out. The completion command is the courtesy of cobra, we didn't add it manually and so didn't notice that this issue is present in vendir as well (similar to kapp and imgpkg where it has been fixed).
Would you like to make a PR with a fix similar to this?
There is just one catch, we need to add the "completion" command here before we can use IsCobraManagedCommand
function, so we will need 2 PRs to fix this (the first one in cppforlife/cobrautil
)
What steps did you take:
What happened:
What did you expect:
Anything else you would like to add:
A minor issue for the team is when loading bash completion, the word "Succeeded" is printed to stdout as per here.
When sourced as shown above, this causes bash to try and run
Succeeded
as a command resulting inA workaround is as follows but would be nice to be the same as other carvel tools.
Environment:
v0.34.3
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible" 👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.