You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is unfortunate, but fixing it would require a breaking change and would also be inconsistent with the rest of the cli functions, where the cli.Context is always the first argument.
We could do a major version bump that fixes this one function, but not sure that it's worth doing so given that we generally recommend folks to use the Cobra CLI going forward and the golint checks can be disabled/ignored using configuration.
Implementing a
cli.App.ContextConfig
function causes the implementing package to fail standard golint checks:fails with:
The text was updated successfully, but these errors were encountered: