Skip to content

Commit

Permalink
Using example field
Browse files Browse the repository at this point in the history
  • Loading branch information
satr committed Jan 22, 2024
1 parent 3b6d3ba commit 8ba7087
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions cmd/createDeployPipelineJob.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@ import (
var createDeployPipelineJobCmd = &cobra.Command{
Use: "deploy",
Short: "Will trigger deploy of a Radix application",
Long: `Triggers deploy of a Radix application according to the radix config in its repository's master branch.
Examples:
# Create a Radix pipeline deploy-only job to deploy an application "radix-test" to an environment "dev"
Long: "Triggers deploy of a Radix application according to the radix config in its repository's master branch.",
Example: ` # Create a Radix pipeline deploy-only job to deploy an application "radix-test" to an environment "dev"
rx create job deploy --application radix-test --environment dev
# Create a Radix pipeline deploy-only job, short option versions
Expand All @@ -47,8 +45,7 @@ Examples:
rx create job deploy -a radix-test -e dev -t web-app=web-app-v2.1 -t api-server=api-v1.0
# Create a Radix pipeline deploy-only job to deploy only specific components
rx create job deploy -a radix-test -e dev --component web-app --component api-server
`,
rx create job deploy -a radix-test -e dev --component web-app --component api-server`,
RunE: func(cmd *cobra.Command, args []string) error {
var errs []error
appName, err := getAppNameFromConfigOrFromParameter(cmd, flagnames.Application)
Expand Down

0 comments on commit 8ba7087

Please sign in to comment.