Create 'completion' command automatically (#1192)
Make it easier for programs to provide shell completion by creating the 'completion' command automatically. If a 'completion' command is already provided by the program, Cobra will use that one instead. Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
This commit is contained in: