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
I've implemented a custom version flag (aliased as v) and logic that prints versions of multiple packages.
It seems that the built-in version flag logic overrides my flag logic and fails since I don't pass a version prop in the root command's meta object.
Doesn't seem like a bug, more like a behavior that needs enhancement - the ability to override the default behavior of --version.
WDYT?
Additional information
Would you be willing to help implement this feature?
The text was updated successfully, but these errors were encountered:
Describe the feature
Hey 👋
❤️ citty!
I've implemented a custom
version
flag (aliased asv
) and logic that prints versions of multiple packages.It seems that the built-in
version
flag logic overrides my flag logic and fails since I don't pass aversion
prop in the root command'smeta
object.Doesn't seem like a bug, more like a behavior that needs enhancement - the ability to override the default behavior of
--version
.WDYT?
Additional information
The text was updated successfully, but these errors were encountered: