You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thing templates are now supported in both json and yaml formats.
This means that, during the thing creation, the thing template can be passed either as json or yaml file.
On the other hand, during the template extraction, the user can specify his preferred format with an appropriate flag. The default value for the format is yaml.
$ ./iot-cloud-cli thing extract --format json
* Thing template - Support both yaml and json formats
* Update docs
* Extract template supports multiple formats
* thing extract - set yaml as default format
* Update readme
Copy file name to clipboardExpand all lines: README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -45,9 +45,9 @@ Devices currently present on Arduino IoT Cloud can be retrieved by using this co
45
45
46
46
Things can be created starting from a template or by cloning another thing.
47
47
48
-
Create a thing from a thing template. The name parameter is optional. If it is provided then it overrides the name retrieved from the template:
48
+
Create a thing from a thing template. Supported template formats are JSON and YAML. The name parameter is optional. If it is provided then it overrides the name retrieved from the template:
0 commit comments