Update docs with device tagging command (#506)

* Add docs on device tagging

* Add tag command docs

* Update docs/Command-List.md

Co-authored-by: Eliise <selingeliise@gmail.com>
This commit is contained in:
MahrRah 2021-09-11 06:27:30 +02:00 коммит произвёл GitHub
Родитель b237107c2c
Коммит 108812317b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 20 добавлений и 0 удалений

Просмотреть файл

@ -297,6 +297,10 @@ Options:
tags.environment='test' and properties.reported.devicemodel='4000x'. This property tags.environment='test' and properties.reported.devicemodel='4000x'. This property
can be set via this parameter or in the .env under can be set via this parameter or in the .env under
'IOTHUB_DEPLOYMENT_TARGET_CONDITION' [default: ;required] 'IOTHUB_DEPLOYMENT_TARGET_CONDITION' [default: ;required]
-dt, --device-tag TEXT Specify the tag to be added to the device twin.
For example, "{"environment":"dev"}". This property
can be set via this parameter or in the .env under
'DEVICE_TAGS'.
-h, --help Show this message and exit. -h, --help Show this message and exit.
``` ```
@ -542,3 +546,19 @@ Options:
-P, --platform TEXT Specify the platform [default: amd64] -P, --platform TEXT Specify the platform [default: amd64]
-h, --help Show this message and exit. -h, --help Show this message and exit.
``` ```
## iotedgedev solution tag
```text
Usage: iotedgedev solution tag [OPTIONS]
Adds tags to device twin for automatic deployments
Options:
-t, --tags TEXT Specify the tag to be added to the device twin.
For example, "{"environment":"dev"}". This property
can be set via this parameter or in the .env under
'DEVICE_TAGS'. [default: ;required]
-h, --help Show this message and exit.
```