cobra-cli
cobra-cli copied to clipboard
Can the cobra CLI be changed to specify file name & variable name?
Moving from https://github.com/spf13/cobra/issues/1381
For example:
cobra add foo--bar--baz --var-name=foo_bar_bazCmd -p 'parentCmd' // generates cmd/foo--bar--baz.go Similarly, it'd be nice if I can run the cobra command in the current directory instead of the root repo directory, for example like:
~/workspace/my-cli/cmd/subcommand $ cobra add
This issue is being marked as stale due to a long period of inactivity
This issue is being marked as stale due to a long period of inactivity
This issue is being marked as stale due to a long period of inactivity
This issue is being marked as stale due to a long period of inactivity
This issue is being marked as stale due to a long period of inactivity
This issue is being marked as stale due to a long period of inactivity