Skip to content

Commit

Permalink
chore: Improve explanations in ok pkg install --help (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
yngvark authored Jul 17, 2024
1 parent cebcc06 commit 71a6b42
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions cmd/pkg/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,17 @@ import (
)

var InstallCommand = &cobra.Command{
Use: "install [stackName1, stackName2, ...]",
Short: "Install or update Boilerplate packages",
Use: "install [outputFolder ...]",
Short: "Install or update Boilerplate packages.",
Long: `Install or update Boilerplate packages.
If no arguments are used, the command installs all the packages specified in the package manifest file.
If one or more output folders are specified, the command installs only the packages whose OutputFolder matches the specified folders. (OutputFolder is a field in the package manifest file.)
`,
Examples: `ok install networking
ok install networking my-app
`,
SilenceErrors: true,
RunE: func(cmd *cobra.Command, args []string) error {
err := install.Run(args)
Expand Down

0 comments on commit 71a6b42

Please sign in to comment.