jharshman
11aa612384
test add
2019-06-07 10:31:03 -04:00
jharshman
0bb1506d25
remove commented field in struct
2019-06-07 10:31:03 -04:00
jharshman
221bae3986
depricate package name flag
2019-06-07 10:31:03 -04:00
jharshman
b8ad19ad0d
reorder some operations
2019-06-07 10:31:03 -04:00
jharshman
732e4db0d4
vgo - trim some uneeded data from struct
2019-06-07 10:31:03 -04:00
jharshman
c7ac101cf8
vgo - fixing up the add op to work with vgo
2019-06-07 10:31:03 -04:00
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
Tom Elliott
cb731b8983
Specify that parent's name is a variable for clarity. #514
2017-08-15 11:22:12 +05:00
Anthony Fok
9e024b655b
cmd: Refine formatting of included licenses
2017-07-30 02:35:06 -06:00
Anthony Fok
a1b7d3cc4d
cmd: Add a blank line between copyright and license
2017-07-30 02:15:55 -06:00
Albert Nigmatzianov
99ff9334bd
cmd: Add possibility to specify the target package
...
Fix #455
2017-06-07 08:07:48 +02:00
Albert Nigmatzianov
3454e0e28e
cmd: Fix package name when adding command
2017-05-12 12:10:33 +02:00
Albert Nigmatzianov
7bb5276f5f
cmd: Fix panic if cmd ends on dash or underscore
2017-05-05 10:35:27 +02:00
Albert Nigmatzianov
d20925b932
cmd: Small correctives
2017-05-05 10:35:27 +02:00
Albert Nigmatzianov
84cba621a0
cmd: Make detection of $HOME work on all systems
...
Use github.com/mitchellh/go-homedir
Fix #430
2017-05-05 10:35:27 +02:00
Albert Nigmatzianov
6bcf163261
cmd: Validate cmd names
...
Fix #269
2017-05-05 10:35:27 +02:00
Albert Nigmatzianov
0dd1c429a3
cmd: Add more docs
2017-05-05 10:35:27 +02:00
Albert Nigmatzianov
32756eb440
cmd: Rewrite
2017-05-05 10:35:27 +02:00
Sobit Akhmedov
9e39e41fb0
fix typo
2015-11-24 14:46:13 +01:00
Anthony Fok
1e63ad8ed1
Fine-tune the formatting of Cobra’s generated code
2015-11-20 15:28:40 -07:00
spf13
2a6ed7a106
utilize filepath.Join liberally
...
fixes #176
2015-11-06 11:08:12 -05:00
spf13
a7defd47ef
add add command functionality to cobra
2015-10-28 13:43:58 -04:00