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
refactor: remove version.Get() and use only version.Raw()
Move the v-prefix enforcement from Get() into init(), ensuring Version
is normalized at startup. This eliminates the confusing Get() vs Raw()
distinction — Raw() is now the single way to access the version.
// TODO: since commands are moving to `*E` cobra lifecycle methods, this method may not be invoked if those earlier lifecycle methods return an error. Maybe move this to the cleanup() method below? but maybe this is OK, no need to prompt users to update if they encounter an error?
0 commit comments