From de7a8280f77d6791dbbc04897cf9983694720b75 Mon Sep 17 00:00:00 2001 From: den-rgb Date: Fri, 11 Oct 2024 14:31:35 +0100 Subject: [PATCH] OCM-11810 | feat: Improved help message for rosa create network --- pkg/options/network/create.go | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pkg/options/network/create.go b/pkg/options/network/create.go index a3dc0c319..7660d6ead 100644 --- a/pkg/options/network/create.go +++ b/pkg/options/network/create.go @@ -8,10 +8,15 @@ import ( const ( use = "network" - short = "Network aws cloudformation stack" - long = "Network aws cloudformation stack using predefined yaml templates. " - example = ` # Create a aws cloudformation stack - rosa create network --param Param1=Value1 --param Param2=Value2 ` + short = "Network AWS cloudformation stack" + long = "Network AWS cloudformation stack using predefined yaml templates. " + example = ` # Create a AWS cloudformation stack + rosa create network --param Param1=Value1 --param Param2=Value2 ` + + "\n\n" + ` # ROSA quick start HCP VPC example` + + "\n" + ` rosa create network rosa-quickstart-default-vpc --param Region=us-west-2` + + ` --param Name=quickstart-stack --param AvailabilityZoneCount=1 --param VpcCidr=10.0.0.0/16` + + "\n\n" + ` # To delete the AWS cloudformation stack` + + "\n" + ` aws cloudformation delete-stack --stack-name --region ` ) type NetworkUserOptions struct {