-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Description
Made a new cobra app in the latest version of it. This app has only the root command with some flags, although nothing significant changes with my issue because of it, I'm pretty sure.
Anyways the issue is that I'm trying to make a git sub command thing where it's called git-open so when you put it in the $PATH, your terminal will recognize it as git open like a git sub command.
I tried setting the use property of the rootCmd to git open but now whenever I run the generated help command the description for it says help for git instead of help for git open.
I know this is a minor issue but still is weird. Can this be fixed somehow?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels