fix(issue/841): capitalization and punctuation consistency.

pull/846/head
fibonacci1729 9 years ago
parent becaf4ce80
commit 245b5e080a

@ -40,7 +40,7 @@ func init() {
var createCmd = &cobra.Command{ var createCmd = &cobra.Command{
Use: "create NAME", Use: "create NAME",
Short: "Create a new chart with the given name.", Short: "create a new chart with the given name",
Long: createDesc, Long: createDesc,
RunE: runCreate, RunE: runCreate,
} }

@ -22,7 +22,7 @@ var deleteCommand = &cobra.Command{
Use: "delete [flags] RELEASE_NAME", Use: "delete [flags] RELEASE_NAME",
Aliases: []string{"del"}, Aliases: []string{"del"},
SuggestFor: []string{"remove", "rm"}, SuggestFor: []string{"remove", "rm"},
Short: "Given a release name, delete the release from Kubernetes", Short: "given a release name, delete the release from Kubernetes",
Long: deleteDesc, Long: deleteDesc,
RunE: delRelease, RunE: delRelease,
PersistentPreRunE: setupConnection, PersistentPreRunE: setupConnection,

@ -25,7 +25,7 @@ func init() {
var fetchCmd = &cobra.Command{ var fetchCmd = &cobra.Command{
Use: "fetch [chart URL | repo/chartname]", Use: "fetch [chart URL | repo/chartname]",
Short: "Download a chart from a repository and (optionally) unpack it in local directory.", Short: "download a chart from a repository and (optionally) unpack it in local directory",
Long: "", Long: "",
RunE: fetch, RunE: fetch,
} }

@ -51,7 +51,7 @@ var errReleaseRequired = errors.New("release name is required")
var getCommand = &cobra.Command{ var getCommand = &cobra.Command{
Use: "get [flags] RELEASE_NAME", Use: "get [flags] RELEASE_NAME",
Short: "Download a named release", Short: "download a named release",
Long: getHelp, Long: getHelp,
RunE: getCmd, RunE: getCmd,
PersistentPreRunE: setupConnection, PersistentPreRunE: setupConnection,
@ -59,14 +59,14 @@ var getCommand = &cobra.Command{
var getValuesCommand = &cobra.Command{ var getValuesCommand = &cobra.Command{
Use: "values [flags] RELEASE_NAME", Use: "values [flags] RELEASE_NAME",
Short: "Download the values file for a named release", Short: "download the values file for a named release",
Long: getValuesHelp, Long: getValuesHelp,
RunE: getValues, RunE: getValues,
} }
var getManifestCommand = &cobra.Command{ var getManifestCommand = &cobra.Command{
Use: "manifest [flags] RELEASE_NAME", Use: "manifest [flags] RELEASE_NAME",
Short: "Download the manifest for a named release", Short: "download the manifest for a named release",
Long: getManifestHelp, Long: getManifestHelp,
RunE: getManifest, RunE: getManifest,
} }

@ -11,7 +11,7 @@ any helm configuration files live.
var homeCommand = &cobra.Command{ var homeCommand = &cobra.Command{
Use: "home", Use: "home",
Short: "Displays the location of HELM_HOME", Short: "displays the location of HELM_HOME",
Long: longHomeHelp, Long: longHomeHelp,
Run: home, Run: home,
} }

@ -35,7 +35,7 @@ func init() {
var initCmd = &cobra.Command{ var initCmd = &cobra.Command{
Use: "init", Use: "init",
Short: "Initialize Helm on both client and server.", Short: "initialize Helm on both client and server",
Long: initDesc, Long: initDesc,
RunE: runInit, RunE: runInit,
} }

@ -34,7 +34,7 @@ var (
var installCmd = &cobra.Command{ var installCmd = &cobra.Command{
Use: "install [CHART]", Use: "install [CHART]",
Short: "install a chart archive.", Short: "install a chart archive",
Long: installDesc, Long: installDesc,
RunE: runInstall, RunE: runInstall,
PersistentPreRunE: setupConnection, PersistentPreRunE: setupConnection,

@ -22,7 +22,7 @@ or recommendation, it will emit [WARNING] messages.
var lintCommand = &cobra.Command{ var lintCommand = &cobra.Command{
Use: "lint [flags] PATH", Use: "lint [flags] PATH",
Short: "Examines a chart for possible issues", Short: "examines a chart for possible issues",
Long: longLintHelp, Long: longLintHelp,
RunE: lintCmd, RunE: lintCmd,
} }

@ -38,7 +38,7 @@ flag with the '--offset' flag allows you to page through results.
var listCommand = &cobra.Command{ var listCommand = &cobra.Command{
Use: "list [flags] [FILTER]", Use: "list [flags] [FILTER]",
Short: "List releases", Short: "list releases",
Long: listHelp, Long: listHelp,
RunE: listCmd, RunE: listCmd,
Aliases: []string{"ls"}, Aliases: []string{"ls"},

@ -30,7 +30,7 @@ func init() {
var packageCmd = &cobra.Command{ var packageCmd = &cobra.Command{
Use: "package [CHART_PATH]", Use: "package [CHART_PATH]",
Short: "Package a chart directory into a chart archive.", Short: "package a chart directory into a chart archive",
Long: packageDesc, Long: packageDesc,
RunE: runPackage, RunE: runPackage,
} }

@ -18,7 +18,7 @@ func init() {
var searchCmd = &cobra.Command{ var searchCmd = &cobra.Command{
Use: "search [keyword]", Use: "search [keyword]",
Short: "Search for a keyword in charts", Short: "search for a keyword in charts",
Long: "Searches the known repositories cache files for the specified search string, looks at name and keywords", Long: "Searches the known repositories cache files for the specified search string, looks at name and keywords",
RunE: search, RunE: search,
PreRunE: requireInit, PreRunE: requireInit,

@ -17,7 +17,7 @@ func init() {
var serveCmd = &cobra.Command{ var serveCmd = &cobra.Command{
Use: "serve", Use: "serve",
Short: "Start a local http web server", Short: "start a local http web server",
Long: serveDesc, Long: serveDesc,
Run: serve, Run: serve,
} }

@ -15,7 +15,7 @@ This command shows the status of a named release.
var statusCommand = &cobra.Command{ var statusCommand = &cobra.Command{
Use: "status [flags] RELEASE_NAME", Use: "status [flags] RELEASE_NAME",
Short: "Displays the status of the named release", Short: "displays the status of the named release",
Long: statusHelp, Long: statusHelp,
RunE: status, RunE: status,
PersistentPreRunE: setupConnection, PersistentPreRunE: setupConnection,

@ -15,7 +15,7 @@ var verboseUpdate bool
var updateCommand = &cobra.Command{ var updateCommand = &cobra.Command{
Use: "update", Use: "update",
Aliases: []string{"up"}, Aliases: []string{"up"},
Short: "Update information on available charts in the chart repositories.", Short: "update information on available charts in the chart repositories",
RunE: runUpdate, RunE: runUpdate,
} }

@ -14,7 +14,7 @@ func init() {
var versionCmd = &cobra.Command{ var versionCmd = &cobra.Command{
Use: "version", Use: "version",
Short: "Print the client version information.", Short: "print the client version information",
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
fmt.Println(version.Version) fmt.Println(version.Version)
}, },

Loading…
Cancel
Save