Skip to content

Commit

Permalink
chore: Improve --help for pkg install
Browse files Browse the repository at this point in the history
  • Loading branch information
yngvark committed Jul 17, 2024
1 parent cebcc06 commit 3c7cb84
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions cmd/pkg/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,18 @@ 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 from the package manifest that has
OutputFolder that matches one of the specified output folders.
`,
Example: `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 3c7cb84

Please sign in to comment.