From 108812317b8a431856b9af9f64dc70c97c2065a8 Mon Sep 17 00:00:00 2001 From: MahrRah Date: Sat, 11 Sep 2021 06:27:30 +0200 Subject: [PATCH] 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 --- docs/Command-List.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/Command-List.md b/docs/Command-List.md index 91b6d87..bb8cdcd 100644 --- a/docs/Command-List.md +++ b/docs/Command-List.md @@ -297,6 +297,10 @@ Options: tags.environment='test' and properties.reported.devicemodel='4000x'. This property can be set via this parameter or in the .env under '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. ``` @@ -542,3 +546,19 @@ Options: -P, --platform TEXT Specify the platform [default: amd64] -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. +```