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 $ helm install myrelease <TAB> ./ -- Relative path prefix to local chart / -- Absolute path prefix to local chart bitnami/ -- https://charts.bitnami.com/bitnami center/ -- https://repo.chartcenter.io file:// -- Chart local URL prefix grafana/ -- https://grafana.github.io/helm-charts https:// http:// -- Chart URL prefix oteemocharts/ -- https://oteemo.github.io/charts prometheus-community/ -- https://prometheus-community.github.io/helm-charts stable/ -- https://charts.helm.sh/stable $ helm show all <TAB> bitnami -- https://charts.bitnami.com/bitnami center -- https://repo.chartcenter.io stable -- https://kubernetes-charts.storage.googleapis.com Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
- Loading branch information
1 parent
e9e6b07
commit 024bb3e
Showing
5 changed files
with
69 additions
and
6 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 |