Skip to content

Commit

Permalink
Environment create example doesn't work copy-paste'd (#225)
Browse files Browse the repository at this point in the history
* Environment create example doesn't work copy-paste'd

* lint
  • Loading branch information
janelletavares authored Dec 9, 2021
1 parent 074fe3e commit 4247739
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions cmd/meroxa/root/environments/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,15 +264,12 @@ func (c *Create) Usage() string {
return "create NAME"
}

//nolint:lll
func (c *Create) Docs() builder.Docs {
return builder.Docs{
Short: "Create an environment",
Example: `
meroxa env create my-env \
--type hosted \
--provider aws \
--region us-east-1 \
--config '{\"aws_access_key_id\":\"my_access_key\", \"aws_secret_access_key\":\"my_secret_access_key\"}'
meroxa env create my-env --type hosted --provider aws --region us-east-1 --config "{\"aws_access_key_id\":\"my_access_key\", \"aws_secret_access_key\":\"my_secret_access_key\"}"
`,
}
}

0 comments on commit 4247739

Please sign in to comment.