-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding ability to add nested commands through cobra add
#273
Commits on Apr 28, 2016
-
Working on #266: Ability to add nested commands
* Modified `cobra add` command to be able to parse argument into nested command structure * Modified `createCmdFile` function to accept cmdPath * Modified cmdFile template to specify package name and to TitleCase command names so that they can be accessed by child packages. * Simplified `writeTemplateToFile` function so that just the file path is passed instead of base path and filename.
Ian Walter committedApr 28, 2016 Configuration menu - View commit details
-
Copy full SHA for a6cbaf6 - Browse repository at this point
Copy the full SHA a6cbaf6View commit details
Commits on Apr 29, 2016
-
Checking if cmd file exists before trying to create it
Ian Walter committedApr 29, 2016 Configuration menu - View commit details
-
Copy full SHA for b4c7072 - Browse repository at this point
Copy the full SHA b4c7072View commit details
Commits on May 3, 2016
-
Merge branch 'master' of https://github.com/spf13/cobra
Ian Walter committedMay 3, 2016 Configuration menu - View commit details
-
Copy full SHA for ecbac3b - Browse repository at this point
Copy the full SHA ecbac3bView commit details -
Merge branch 'master' of github.com:ianwalter/cobra
Ian Walter committedMay 3, 2016 Configuration menu - View commit details
-
Copy full SHA for 034973c - Browse repository at this point
Copy the full SHA 034973cView commit details -
Fixing removal of filepath.join from writeTemplateToFile
Ian Walter committedMay 3, 2016 Configuration menu - View commit details
-
Copy full SHA for 274ca84 - Browse repository at this point
Copy the full SHA 274ca84View commit details -
Reversing cmd creation order so child cmds get added properly
Ian Walter committedMay 3, 2016 Configuration menu - View commit details
-
Copy full SHA for 784ab4d - Browse repository at this point
Copy the full SHA 784ab4dView commit details
Commits on May 4, 2016
-
Fixing addCmd templating and finishing #266
Ian Walter committedMay 4, 2016 Configuration menu - View commit details
-
Copy full SHA for 02a0b7d - Browse repository at this point
Copy the full SHA 02a0b7dView commit details -
Making buildPath arg more descriptive
Ian Walter committedMay 4, 2016 Configuration menu - View commit details
-
Copy full SHA for 7e28852 - Browse repository at this point
Copy the full SHA 7e28852View commit details
Commits on May 9, 2016
-
Merge branch 'master' of https://github.com/spf13/cobra
Ian Walter committedMay 9, 2016 Configuration menu - View commit details
-
Copy full SHA for 22e4fd4 - Browse repository at this point
Copy the full SHA 22e4fd4View commit details -
Merge branch 'master' of github.com:ianwalter/cobra
Ian Walter committedMay 9, 2016 Configuration menu - View commit details
-
Copy full SHA for 36bbf32 - Browse repository at this point
Copy the full SHA 36bbf32View commit details