diff --git a/cmd/deploymentparameters_create.go b/cmd/deploymentparameters_create.go index 9bcfdb2..4fe10eb 100644 --- a/cmd/deploymentparameters_create.go +++ b/cmd/deploymentparameters_create.go @@ -39,8 +39,14 @@ func newDeploymentParameterCreateCmd() *cobra.Command { Short: "Create a deployment parameter", Long: `Create a deployment parameter.`, Example: ` - # Create a deployment parameter with the name "myParam" and the value "myValue" - fmeflow deploymentparameters create --name myParam --value myValue + # Create a Web deployment parameter including the slack service and specifying a slack connection + fmeflow deploymentparameters create --type web --name slack_connection --included-service Slack --value slack_connection_value + + # Create a Database deployment parameter for PostgreSQL specifying a pgsql connection + fmeflow deploymentparameters create --type database --name pgsql_param --database-type PostgreSQL --value pgsql_connection_value + + # Create a Text deployment parameter + fmeflow deploymentparameters create --name text_connection --value text_connection_value --type text `, Args: NoArgs, diff --git a/docs/fmeflow_deploymentparameters_create.md b/docs/fmeflow_deploymentparameters_create.md index 1c4e7cc..0ef8224 100644 --- a/docs/fmeflow_deploymentparameters_create.md +++ b/docs/fmeflow_deploymentparameters_create.md @@ -14,8 +14,14 @@ fmeflow deploymentparameters create [flags] ``` - # Create a deployment parameter with the name "myParam" and the value "myValue" - fmeflow deploymentparameters create --name myParam --value myValue + # Create a Web deployment parameter including the slack service and specifying a slack connection + fmeflow deploymentparameters create --type web --name slack_connection --included-service Slack --value slack_connection_value + + # Create a Database deployment parameter for PostgreSQL specifying a pgsql connection + fmeflow deploymentparameters create --type database --name pgsql_param --database-type PostgreSQL --value pgsql_connection_value + + # Create a Text deployment parameter + fmeflow deploymentparameters create --name text_connection --value text_connection_value --type text ```