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
Currently, versioning is done using a sub-command, the convention with Cobra is to use a flag. We should use the common convention for this rather than our own way.
Currently, versioning is done using a sub-command, the convention with Cobra is to use a flag. We should use the common convention for this rather than our own way.
Example:
https://github.com/nathandines/forge/blob/master/commands/root.go#L26-L36
This means the CI tools that expect the
version
sub-command will have to be updated to use the--version
flag insteadThe text was updated successfully, but these errors were encountered: