Skip to content

Commit

Permalink
Revert radCLI changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Reshrahim committed Sep 12, 2023
1 parent 41ebfc7 commit 388fe53
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions docs/content/reference/cli/rad_recipe_register.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ rad recipe register [recipe-name] [flags]
```
# Add a recipe to an environment
rad recipe register cosmosdb -e env_name -w workspace --template-kind bicep --template-path template_path --link-type Applications.Datastores/mongoDatabases
rad recipe register cosmosdb -e env_name -w workspace --template-kind bicep --template-path template_path --resource-type Applications.Datastores/mongoDatabases
# Specify a parameter
rad recipe register cosmosdb -e env_name -w workspace --template-kind bicep --template-path template_path --link-type Applications.Datastores/mongoDatabases --parameters throughput=400
rad recipe register cosmosdb -e env_name -w workspace --template-kind bicep --template-path template_path --resource-type Applications.Datastores/mongoDatabases --parameters throughput=400
# specify multiple parameters using a JSON parameter file
rad recipe register cosmosdb -e env_name -w workspace --template-kind bicep --template-path template_path --link-type Applications.Datastores/mongoDatabases --parameters @myfile.json
rad recipe register cosmosdb -e env_name -w workspace --template-kind bicep --template-path template_path --resource-type Applications.Datastores/mongoDatabases --parameters @myfile.json
```

Expand All @@ -44,9 +44,9 @@ rad recipe register cosmosdb -e env_name -w workspace --template-kind bicep --te
-e, --environment string The environment name
-g, --group string The resource group name
-h, --help help for register
--link-type string specify the type of the portable resource this recipe can be consumed by
-o, --output string output format (supported formats are json, table) (default "table")
-p, --parameters stringArray Specify parameters for the deployment
--resource-type string specify the type of the portable resource this recipe can be consumed by
--template-kind string specify the kind for the template provided by the recipe.
--template-path string specify the path to the template provided by the recipe.
--template-version string specify the version for the terraform module.
Expand Down
12 changes: 6 additions & 6 deletions docs/content/reference/cli/rad_recipe_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ rad recipe show redis-dev --group dev --environment dev
### Options

```
-e, --environment string The environment name
-g, --group string The resource group name
-h, --help help for show
--link-type string Specify the type of the link this recipe can be consumed by
-o, --output string output format (supported formats are json, table) (default "table")
-w, --workspace string The workspace name
-e, --environment string The environment name
-g, --group string The resource group name
-h, --help help for show
-o, --output string output format (supported formats are json, table) (default "table")
--resource-type string Specify the type of the portable resource this recipe can be consumed by
-w, --workspace string The workspace name
```

### Options inherited from parent commands
Expand Down
12 changes: 6 additions & 6 deletions docs/content/reference/cli/rad_recipe_unregister.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ rad recipe unregister cosmosdb
### Options

```
-e, --environment string The environment name
-g, --group string The resource group name
-h, --help help for unregister
--link-type string Specify the type of the link this recipe can be consumed by
-o, --output string output format (supported formats are json, table) (default "table")
-w, --workspace string The workspace name
-e, --environment string The environment name
-g, --group string The resource group name
-h, --help help for unregister
-o, --output string output format (supported formats are json, table) (default "table")
--resource-type string Specify the type of the portable resource this recipe can be consumed by
-w, --workspace string The workspace name
```

### Options inherited from parent commands
Expand Down
2 changes: 1 addition & 1 deletion docs/content/reference/cli/rad_resource_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rad resource list [resourceType] [flags]

```
sample list of resourceType: containers, gateways, httpRoutes, daprPubSubBrokers, extenders, mongoDatabases, rabbitMQMessageQueues, redisCaches, sqlDatabases, daprStateStores, daprSecretStores
sample list of resourceType: containers, gateways, httpRoutes, pubSubBrokers, extenders, mongoDatabases, rabbitMQMessageQueues, redisCaches, sqlDatabases, stateStores, secretStores
# list all resources of a specified type in the default environment
Expand Down

0 comments on commit 388fe53

Please sign in to comment.