Can the cobra CLI be changed to specify file name & variable name?
johnSchnake opened this issue · comments
Moving from spf13/cobra#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 -p 'subcommandCmd' .
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