spf13--cobra/cobra/cmd
Nick Miyake 1be1d2841c Make rootCmd private
Update Cobra generator to make rootCmd private rather than
exporting it. Also update examples in README to use the exported
Execute() command rather than referencing unexported rootCmd.

Fixes #556
2017-11-23 08:13:30 +01:00
..
testdata Make rootCmd private 2017-11-23 08:13:30 +01:00
add.go Make rootCmd private 2017-11-23 08:13:30 +01:00
add_test.go Fix remaining reproducibility in TestGoldenAddCmd 2017-07-31 11:04:27 -06:00
golden_test.go cmd: Add "-u" to output unified diff in golden tests 2017-07-30 02:11:56 -06:00
helpers.go Support default value of $GOPATH (#532) 2017-09-29 18:16:12 +02:00
init.go Make rootCmd private 2017-11-23 08:13:30 +01:00
init_test.go cmd: Fix golden tests if user has config at $HOME 2017-07-31 06:38:19 -06:00
license_agpl.go cmd: Refine formatting of included licenses 2017-07-30 02:35:06 -06:00
license_apache_2.go cmd: Refine formatting of included licenses 2017-07-30 02:35:06 -06:00
license_bsd_clause_2.go cmd: Refine formatting of included licenses 2017-07-30 02:35:06 -06:00
license_bsd_clause_3.go cmd: Refine formatting of included licenses 2017-07-30 02:35:06 -06:00
license_gpl_2.go cmd: Refine formatting of included licenses 2017-07-30 02:35:06 -06:00
license_gpl_3.go cmd: Refine formatting of included licenses 2017-07-30 02:35:06 -06:00
license_lgpl.go cmd: Refine formatting of included licenses 2017-07-30 02:35:06 -06:00
license_mit.go cmd: Refine formatting of included licenses 2017-07-30 02:35:06 -06:00
licenses.go cmd: Fix text of custom license 2017-10-04 22:36:42 +02:00
project.go cmd: Use correct HasPrefix function for paths 2017-05-15 09:51:20 +02:00
project_test.go cmd: Use correct HasPrefix function for paths 2017-05-15 09:51:20 +02:00
root.go Restore the use of cobra.OnInitialize in cobra executable 2017-07-30 01:19:17 -06:00