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:
Marc Khouzam
2021-02-15 10:47:01 -07:00
committed by GitHub
parent ded486a867
commit b312f0a8ef
4 changed files with 406 additions and 3 deletions
+2160
View File
File diff suppressed because it is too large Load Diff