Add documentation to helm search --regexp (#3927)

Add examples and general sub-command documentation from PR feedback
pull/3934/head^2
Julien Bordellier 8 years ago committed by Julien Bordellier
parent b6660cd5c9
commit 3822b6615a

@ -35,6 +35,21 @@ Search reads through all of the repositories configured on the system, and
looks for matches. looks for matches.
Repositories are managed with 'helm repo' commands. Repositories are managed with 'helm repo' commands.
To look for charts with a particular name (such as stable/mysql), try
searching using vertical tabs (\v). Vertical tabs are used as the delimiter
between search fields. For example:
helm search --regexp '\vstable/mysql\v'
To search for charts using common keywords (such as "database" or
"key-value store"), use
helm search database
or
helm search key-value store
` `
// searchMaxScore suggests that any score higher than this is not considered a match. // searchMaxScore suggests that any score higher than this is not considered a match.

@ -11,6 +11,21 @@ looks for matches.
Repositories are managed with 'helm repo' commands. Repositories are managed with 'helm repo' commands.
To look for charts with a particular name (such as stable/mysql), try
searching using vertical tabs (\v). Vertical tabs are used as the delimiter
between search fields. For example:
helm search --regexp '\vstable/mysql\v'
To search for charts using common keywords (such as "database" or
"key-value store"), use
helm search database
or
helm search key-value store
``` ```
helm search [keyword] helm search [keyword]
@ -39,4 +54,4 @@ helm search [keyword]
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 23-Apr-2018 ###### Auto generated by spf13/cobra on 24-Apr-2018

Loading…
Cancel
Save