Commit Graph

2 Commits

Author SHA1 Message Date
Waseem Ahmad
958a7113de Use variadic nature of *cobra.Command.AddCommand to add group of commands to a parent command
Rather than looping over commands in a group and add it one by one to a
parent command, use variadic nature of *cobra.Command.AddCommand to add
the group of commands to the parent.
2017-05-19 08:38:35 +05:30
Fabiano Franz
4d641c4911 Use responsive writer in help 2016-10-17 11:50:02 -02:00