Skip to content

Commit ad187dd

Browse files
committed
Update readme
1 parent bd72c03 commit ad187dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ Delete a thing with the following command:
154154

155155
`$ arduino-cloud-cli thing delete --id <thingID>`
156156

157-
Extract a template from an existing thing. The template can be saved in two formats: json or yaml. The default format is yaml:
157+
Extract a template from an existing thing. The template is printed to stdout and its format depends on the global `--format` flag:
158158

159-
`$ arduino-cloud-cli thing extract --id <thingID> --outfile <templateFile> --format <yaml|json>`
159+
`$ arduino-cloud-cli thing extract --id <thingID> --format <json|yaml>`
160160

161161
Bind a thing to an existing device:
162162

@@ -198,9 +198,9 @@ Delete a dashboard with the following command:
198198

199199
`$ arduino-cloud-cli dashboard delete --id <dashboardID>`
200200

201-
Extract a template from an existing dashboard. The template can be saved in two formats: json or yaml. The default format is yaml:
201+
Extract a template from an existing dashboard. The template is printed to stdout and its format depends on the global `--format` flag:
202202

203-
`$ arduino-cloud-cli dashboard extract --id <dashboardID> --outfile <templateFile> --format <yaml|json>`
203+
`$ arduino-cloud-cli dashboard extract --id <dashboardID> --format <json|yaml>`
204204

205205
Create a dashboard: dashboards can be created only starting from a template. Supported dashboard template formats are JSON and YAML. The name parameter is optional. If it is provided then it overrides the name retrieved from the template. The `override` flag can be used to override the template `thing_id` placeholder with the actual ID of the thing to be used.
206206

0 commit comments

Comments
 (0)