mirror of
https://github.com/spf13/cobra
synced 2024-11-25 07:07:15 +00:00
a6cbaf61ec
* 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. |
||
---|---|---|
.. | ||
add.go | ||
helpers.go | ||
helpers_test.go | ||
init.go | ||
licenses.go | ||
root.go |