forked from helm/helm
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(comp): Add descriptions for repo completion
Ref: HIP 0008 When completing a repo name, extra information will be shown for shells that support completions (fish, zsh). For example: $ helm repo remove <TAB> bitnami -- https://charts.bitnami.com/bitnami center -- https://repo.chartcenter.io stable -- https://kubernetes-charts.storage.googleapis.com This commit does not add the description to repo names for the commands: intall, template, upgrade, show and pull. This is because we first need a couple of Cobra fixes: spf13/cobra#1211 spf13/cobra#1248 Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
- Loading branch information
1 parent
3e31983
commit d91448f
Showing
5 changed files
with
66 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
foo | ||
bar | ||
baz | ||
:4 | ||
Completion ended with directive: ShellCompDirectiveNoFileComp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
bar | ||
baz | ||
:4 | ||
Completion ended with directive: ShellCompDirectiveNoFileComp |