diff --git a/.changeset/pre.json b/.changeset/pre.json index b15c94013..27a487fa9 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -12,6 +12,7 @@ "bright-kings-sort", "calm-rats-battle", "chilly-chicken-taste", + "early-zoos-speak", "eight-apricots-lie", "eleven-mails-march", "fair-islands-prove", @@ -19,6 +20,7 @@ "famous-mirrors-smash", "friendly-maps-learn", "giant-poems-reflect", + "good-worms-greet", "gorgeous-paws-rush", "heavy-islands-jam", "late-baboons-love", @@ -30,6 +32,7 @@ "nice-files-approve", "odd-fireants-act", "old-rocks-try", + "orange-fireants-hammer", "proud-cameras-visit", "purple-steaks-behave", "quick-brooms-develop", @@ -45,7 +48,9 @@ "stale-boxes-smash", "stale-spoons-tell", "stale-suns-tan", + "stupid-jeans-grab", "thirty-badgers-compare", - "wet-cherries-wink" + "wet-cherries-wink", + "wise-baboons-build" ] } diff --git a/package-lock.json b/package-lock.json index 25a9abb43..ac047b1de 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18352,7 +18352,7 @@ }, "packages/cli": { "name": "@smartthings/cli", - "version": "1.0.0-beta.16", + "version": "1.0.0-beta.17", "license": "Apache-2.0", "dependencies": { "@oclif/core": "^1.13.10", @@ -18360,7 +18360,7 @@ "@oclif/plugin-help": "^5.1.12", "@oclif/plugin-not-found": "^2.3.1", "@oclif/plugin-plugins": "^2.1.0", - "@smartthings/cli-lib": "^1.0.0-beta.14", + "@smartthings/cli-lib": "^1.0.0-beta.15", "@smartthings/core-sdk": "^5.1.1", "@smartthings/plugin-cli-edge": "^1.15.5", "aws-sdk": "^2.1175.0", @@ -18399,7 +18399,7 @@ }, "packages/lib": { "name": "@smartthings/cli-lib", - "version": "1.0.0-beta.14", + "version": "1.0.0-beta.15", "license": "Apache-2.0", "dependencies": { "@log4js-node/log4js-api": "^1.0.2", @@ -21528,7 +21528,7 @@ "@oclif/plugin-help": "^5.1.12", "@oclif/plugin-not-found": "^2.3.1", "@oclif/plugin-plugins": "^2.1.0", - "@smartthings/cli-lib": "^1.0.0-beta.14", + "@smartthings/cli-lib": "^1.0.0-beta.15", "@smartthings/cli-testlib": "^1.0.0-beta.9", "@smartthings/core-sdk": "^5.1.1", "@smartthings/plugin-cli-edge": "^1.15.5", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 0b5cd8136..b4ce808c0 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,21 @@ # Change Log +## 1.0.0-beta.17 + +### Patch Changes + +- [#398](https://github.com/SmartThingsCommunity/smartthings-cli/pull/398) [`d20ad61`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/d20ad6198f663a5ecb04af1d80ccf42d10214fa9) Thanks [@rossiam](https://github.com/rossiam)! - IMPORTANT: removed `-id` suffix from command line flags that had them for consistency + +* [#394](https://github.com/SmartThingsCommunity/smartthings-cli/pull/394) [`e13f0c3`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/e13f0c33902289083ced4a6c6642685e6832a4d6) Thanks [@rossiam](https://github.com/rossiam)! - \* fix vendor support information output for edge:drivers:installed command + - fix lookup by index for edge:drivers:installed command + +- [#400](https://github.com/SmartThingsCommunity/smartthings-cli/pull/400) [`eb1aab8`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/eb1aab896d4248d293c662317056097aad777438) Thanks [@rossiam](https://github.com/rossiam)! - removed `-id` suffix from flags, update help text to reflect this + +* [#392](https://github.com/SmartThingsCommunity/smartthings-cli/pull/392) [`594b5c7`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/594b5c73b3803e6f7f4e47fa175e5aee5df4f250) Thanks [@rossiam](https://github.com/rossiam)! - include location name for installedapps and installedschema when querying a single item in verbose mode + +* Updated dependencies [[`d20ad61`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/d20ad6198f663a5ecb04af1d80ccf42d10214fa9), [`594b5c7`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/594b5c73b3803e6f7f4e47fa175e5aee5df4f250)]: + - @smartthings/cli-lib@1.0.0-beta.15 + ## 1.0.0-beta.16 ### Patch Changes diff --git a/packages/cli/README.md b/packages/cli/README.md index 7b92d3b8e..4b406da57 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -220,6 +220,7 @@ that map to the API spec. * [`smartthings edge:drivers:switch [DEVICEID]`](#smartthings-edgedriversswitch-deviceid) * [`smartthings edge:drivers:uninstall [DRIVERID]`](#smartthings-edgedriversuninstall-driverid) * [`smartthings edge:drivers:unpublish [DRIVERID]`](#smartthings-edgedriversunpublish-driverid) +* [`smartthings help [COMMAND]`](#smartthings-help-command) * [`smartthings installedapps [ID]`](#smartthings-installedapps-id) * [`smartthings installedapps:delete [ID]`](#smartthings-installedappsdelete-id) * [`smartthings installedapps:rename [ID] [NAME]`](#smartthings-installedappsrename-id-name) @@ -303,7 +304,7 @@ DESCRIPTION get a specific app or a list of apps ``` -_See code: [src/commands/apps.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/apps.ts)_ +_See code: [src/commands/apps.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/apps.ts)_ ## `smartthings apps:authorize ARN` @@ -311,16 +312,16 @@ authorize calls to your AWS Lambda function from SmartThings ``` USAGE - $ smartthings apps:authorize [ARN] [-h] [-p ] [--principal ] [--statement-id ] + $ smartthings apps:authorize [ARN] [-h] [-p ] [--principal ] [--statement ] ARGUMENTS ARN the ARN of the AWS Lambda function FLAGS - -h, --help Show CLI help. - -p, --profile= [default: default] configuration profile - --principal= use this principal instead of the default when authorizing lambda functions - --statement-id= use this statement id instead of the default when authorizing lambda functions + -h, --help Show CLI help. + -p, --profile= [default: default] configuration profile + --principal= use this principal instead of the default when authorizing lambda functions + --statement= use this statement id instead of the default when authorizing lambda functions DESCRIPTION authorize calls to your AWS Lambda function from SmartThings @@ -338,14 +339,14 @@ EXAMPLES --function-name arn:aws:lambda:us-east-1:1234567890:function:your-test-app \ - --statement-id smartthings --principal 906037444270 --action lambda:InvokeFunction + --statement smartthings --principal 906037444270 --action lambda:InvokeFunction It requires your machine to be configured to run the AWS CLI ``` -_See code: [src/commands/apps/authorize.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/apps/authorize.ts)_ +_See code: [src/commands/apps/authorize.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/apps/authorize.ts)_ ## `smartthings apps:create` @@ -354,27 +355,27 @@ create an app ``` USAGE $ smartthings apps:create [-h] [-p ] [-t ] [--language ] [-j] [-y] [-i ] [-o - ] [-d] [--authorize] [--principal ] [--statement-id ] + ] [-d] [--authorize] [--principal ] [--statement ] FLAGS - -d, --dry-run produce JSON but don't actually submit - -h, --help Show CLI help. - -i, --input= specify input file - -j, --json use JSON format of input and/or output - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -y, --yaml use YAML format of input and/or output - --authorize authorize Lambda functions to be called by SmartThings - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale - --principal= use this principal instead of the default when authorizing lambda functions - --statement-id= use this statement id instead of the default when authorizing lambda functions + -d, --dry-run produce JSON but don't actually submit + -h, --help Show CLI help. + -i, --input= specify input file + -j, --json use JSON format of input and/or output + -o, --output= specify output file + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -y, --yaml use YAML format of input and/or output + --authorize authorize Lambda functions to be called by SmartThings + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + --principal= use this principal instead of the default when authorizing lambda functions + --statement= use this statement id instead of the default when authorizing lambda functions DESCRIPTION create an app ``` -_See code: [src/commands/apps/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/apps/create.ts)_ +_See code: [src/commands/apps/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/apps/create.ts)_ ## `smartthings apps:delete [ID]` @@ -397,7 +398,7 @@ DESCRIPTION delete the app ``` -_See code: [src/commands/apps/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/apps/delete.ts)_ +_See code: [src/commands/apps/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/apps/delete.ts)_ ## `smartthings apps:oauth [ID]` @@ -423,7 +424,7 @@ DESCRIPTION get OAuth information for the app ``` -_See code: [src/commands/apps/oauth.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/apps/oauth.ts)_ +_See code: [src/commands/apps/oauth.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/apps/oauth.ts)_ ## `smartthings apps:oauth:generate [ID]` @@ -452,7 +453,7 @@ DESCRIPTION regenerate the OAuth clientId and clientSecret of an app ``` -_See code: [src/commands/apps/oauth/generate.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/apps/oauth/generate.ts)_ +_See code: [src/commands/apps/oauth/generate.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/apps/oauth/generate.ts)_ ## `smartthings apps:oauth:update [ID]` @@ -481,7 +482,7 @@ DESCRIPTION update the OAuth settings of the app ``` -_See code: [src/commands/apps/oauth/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/apps/oauth/update.ts)_ +_See code: [src/commands/apps/oauth/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/apps/oauth/update.ts)_ ## `smartthings apps:register [ID]` @@ -504,7 +505,7 @@ DESCRIPTION send request to app target URL to confirm existence and authorize lifecycle events ``` -_See code: [src/commands/apps/register.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/apps/register.ts)_ +_See code: [src/commands/apps/register.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/apps/register.ts)_ ## `smartthings apps:settings [ID]` @@ -530,7 +531,7 @@ DESCRIPTION get the settings of the app ``` -_See code: [src/commands/apps/settings.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/apps/settings.ts)_ +_See code: [src/commands/apps/settings.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/apps/settings.ts)_ ## `smartthings apps:settings:update [ID]` @@ -559,7 +560,7 @@ DESCRIPTION update the settings of the app ``` -_See code: [src/commands/apps/settings/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/apps/settings/update.ts)_ +_See code: [src/commands/apps/settings/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/apps/settings/update.ts)_ ## `smartthings apps:update [ID]` @@ -568,30 +569,30 @@ update the settings of the app ``` USAGE $ smartthings apps:update [ID] [-h] [-p ] [-t ] [--language ] [-j] [-y] [-i ] [-o - ] [-d] [--authorize] [--principal ] [--statement-id ] + ] [-d] [--authorize] [--principal ] [--statement ] ARGUMENTS ID the app id FLAGS - -d, --dry-run produce JSON but don't actually submit - -h, --help Show CLI help. - -i, --input= specify input file - -j, --json use JSON format of input and/or output - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -y, --yaml use YAML format of input and/or output - --authorize authorize Lambda functions to be called by SmartThings - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale - --principal= use this principal instead of the default when authorizing lambda functions - --statement-id= use this statement id instead of the default when authorizing lambda functions + -d, --dry-run produce JSON but don't actually submit + -h, --help Show CLI help. + -i, --input= specify input file + -j, --json use JSON format of input and/or output + -o, --output= specify output file + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -y, --yaml use YAML format of input and/or output + --authorize authorize Lambda functions to be called by SmartThings + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + --principal= use this principal instead of the default when authorizing lambda functions + --statement= use this statement id instead of the default when authorizing lambda functions DESCRIPTION update the settings of the app ``` -_See code: [src/commands/apps/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/apps/update.ts)_ +_See code: [src/commands/apps/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/apps/update.ts)_ ## `smartthings autocomplete [SHELL]` @@ -652,7 +653,7 @@ DESCRIPTION get a specific capability ``` -_See code: [src/commands/capabilities.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/capabilities.ts)_ +_See code: [src/commands/capabilities.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/capabilities.ts)_ ## `smartthings capabilities:create` @@ -680,7 +681,7 @@ DESCRIPTION create a capability for a user ``` -_See code: [src/commands/capabilities/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/capabilities/create.ts)_ +_See code: [src/commands/capabilities/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/capabilities/create.ts)_ ## `smartthings capabilities:delete [ID] [VERSION]` @@ -705,7 +706,7 @@ DESCRIPTION delete a capability ``` -_See code: [src/commands/capabilities/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/capabilities/delete.ts)_ +_See code: [src/commands/capabilities/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/capabilities/delete.ts)_ ## `smartthings capabilities:namespaces` @@ -730,7 +731,7 @@ DESCRIPTION list all capability namespaces currently available in a user account ``` -_See code: [src/commands/capabilities/namespaces.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/capabilities/namespaces.ts)_ +_See code: [src/commands/capabilities/namespaces.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/capabilities/namespaces.ts)_ ## `smartthings capabilities:presentation [ID] [VERSION]` @@ -760,7 +761,7 @@ DESCRIPTION get presentation information for a specific capability ``` -_See code: [src/commands/capabilities/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/capabilities/presentation.ts)_ +_See code: [src/commands/capabilities/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/capabilities/presentation.ts)_ ## `smartthings capabilities:presentation:create [ID] [VERSION]` @@ -791,7 +792,7 @@ DESCRIPTION create presentation model for a capability ``` -_See code: [src/commands/capabilities/presentation/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/capabilities/presentation/create.ts)_ +_See code: [src/commands/capabilities/presentation/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/capabilities/presentation/create.ts)_ ## `smartthings capabilities:presentation:update [ID] [VERSION]` @@ -822,7 +823,7 @@ DESCRIPTION update presentation information of a capability ``` -_See code: [src/commands/capabilities/presentation/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/capabilities/presentation/update.ts)_ +_See code: [src/commands/capabilities/presentation/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/capabilities/presentation/update.ts)_ ## `smartthings capabilities:translations [ID] [VERSION] [TAG]` @@ -922,7 +923,7 @@ EXAMPLES └──────────────────────────────────────┴───────────────────────┴──────────────────────────────────────────────────┘ ``` -_See code: [src/commands/capabilities/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/capabilities/translations.ts)_ +_See code: [src/commands/capabilities/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/capabilities/translations.ts)_ ## `smartthings capabilities:translations:create [ID] [VERSION]` @@ -1005,7 +1006,7 @@ EXAMPLES label: Output Modulation ``` -_See code: [src/commands/capabilities/translations/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/capabilities/translations/create.ts)_ +_See code: [src/commands/capabilities/translations/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/capabilities/translations/create.ts)_ ## `smartthings capabilities:translations:update [ID] [VERSION]` @@ -1088,7 +1089,7 @@ EXAMPLES label: Output Modulation ``` -_See code: [src/commands/capabilities/translations/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/capabilities/translations/update.ts)_ +_See code: [src/commands/capabilities/translations/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/capabilities/translations/update.ts)_ ## `smartthings capabilities:translations:upsert [ID] [VERSION]` @@ -1171,7 +1172,7 @@ EXAMPLES label: Output Modulation ``` -_See code: [src/commands/capabilities/translations/upsert.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/capabilities/translations/upsert.ts)_ +_See code: [src/commands/capabilities/translations/upsert.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/capabilities/translations/upsert.ts)_ ## `smartthings capabilities:update [ID] [VERSION]` @@ -1202,7 +1203,7 @@ DESCRIPTION update a capability ``` -_See code: [src/commands/capabilities/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/capabilities/update.ts)_ +_See code: [src/commands/capabilities/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/capabilities/update.ts)_ ## `smartthings config [NAME]` @@ -1227,7 +1228,7 @@ DESCRIPTION list config file entries ``` -_See code: [src/commands/config.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/config.ts)_ +_See code: [src/commands/config.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/config.ts)_ ## `smartthings config:reset` @@ -1248,7 +1249,7 @@ DESCRIPTION to use?" You can use this command to clear those answers. ``` -_See code: [src/commands/config/reset.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/config/reset.ts)_ +_See code: [src/commands/config/reset.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/config/reset.ts)_ ## `smartthings device-preferences [IDORINDEX]` @@ -2149,7 +2150,7 @@ EXAMPLES $ smartthings devicepreferences 3 -o dp.json # write details as JSON for third preference to dp.json ``` -_See code: [src/commands/devicepreferences.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/devicepreferences.ts)_ +_See code: [src/commands/devicepreferences.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/devicepreferences.ts)_ ## `smartthings devicepreferences:create` @@ -2196,7 +2197,7 @@ EXAMPLES $ smartthings devicepreferences: create - i dp.json - o dp - saved.json ``` -_See code: [src/commands/devicepreferences/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/devicepreferences/create.ts)_ +_See code: [src/commands/devicepreferences/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/devicepreferences/create.ts)_ ## `smartthings devicepreferences:translations [PREFERENCEID] [TAG]` @@ -2238,7 +2239,7 @@ EXAMPLES $ smartthings devicepreferences:translations motionSensitivity ko ``` -_See code: [src/commands/devicepreferences/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/devicepreferences/translations.ts)_ +_See code: [src/commands/devicepreferences/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/devicepreferences/translations.ts)_ ## `smartthings devicepreferences:translations:create [PREFERENCEID]` @@ -2271,7 +2272,7 @@ EXAMPLES $ smartthings devicepreferences:translations:create -i preferenceTranslation.json ``` -_See code: [src/commands/devicepreferences/translations/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/devicepreferences/translations/create.ts)_ +_See code: [src/commands/devicepreferences/translations/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/devicepreferences/translations/create.ts)_ ## `smartthings devicepreferences:translations:update [PREFERENCEID]` @@ -2304,7 +2305,7 @@ EXAMPLES $ smartthings devicepreferences:translations:update -i preferenceTranslation.json ``` -_See code: [src/commands/devicepreferences/translations/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/devicepreferences/translations/update.ts)_ +_See code: [src/commands/devicepreferences/translations/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/devicepreferences/translations/update.ts)_ ## `smartthings devicepreferences:update [ID]` @@ -2342,7 +2343,7 @@ EXAMPLES $ smartthings devicepreferences:update -i dp.yaml my-preference-id # update device preference my-preference-id with data from dp.yaml ``` -_See code: [src/commands/devicepreferences/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/devicepreferences/update.ts)_ +_See code: [src/commands/devicepreferences/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/devicepreferences/update.ts)_ ## `smartthings deviceprofiles [ID]` @@ -2388,7 +2389,7 @@ EXAMPLES $ smartthings deviceprofiles 4 -j -o profile.json # write the profile to the file "profile.json" ``` -_See code: [src/commands/deviceprofiles.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/deviceprofiles.ts)_ +_See code: [src/commands/deviceprofiles.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/deviceprofiles.ts)_ ## `smartthings deviceprofiles:create` @@ -2431,7 +2432,7 @@ EXAMPLES $ smartthings deviceprofiles:create # create a device profile with interactive dialog ``` -_See code: [src/commands/deviceprofiles/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/deviceprofiles/create.ts)_ +_See code: [src/commands/deviceprofiles/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/deviceprofiles/create.ts)_ ## `smartthings deviceprofiles:delete [ID]` @@ -2463,7 +2464,7 @@ EXAMPLES $ smartthings deviceprofiles:delete 5 # delete the 5th profile in the list ``` -_See code: [src/commands/deviceprofiles/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/deviceprofiles/delete.ts)_ +_See code: [src/commands/deviceprofiles/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/deviceprofiles/delete.ts)_ ## `smartthings deviceprofiles:device-config [ID]` @@ -2494,7 +2495,7 @@ ALIASES $ smartthings device-profiles:device-config ``` -_See code: [src/commands/deviceprofiles/device-config.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/deviceprofiles/device-config.ts)_ +_See code: [src/commands/deviceprofiles/device-config.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/deviceprofiles/device-config.ts)_ ## `smartthings deviceprofiles:presentation [ID]` @@ -2542,7 +2543,7 @@ EXAMPLES flag then no language header is specified in the API request ``` -_See code: [src/commands/deviceprofiles/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/deviceprofiles/presentation.ts)_ +_See code: [src/commands/deviceprofiles/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/deviceprofiles/presentation.ts)_ ## `smartthings deviceprofiles:publish [ID]` @@ -2573,7 +2574,7 @@ ALIASES $ smartthings device-profiles:publish ``` -_See code: [src/commands/deviceprofiles/publish.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/deviceprofiles/publish.ts)_ +_See code: [src/commands/deviceprofiles/publish.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/deviceprofiles/publish.ts)_ ## `smartthings deviceprofiles:translations [ID] [TAG]` @@ -2707,7 +2708,7 @@ EXAMPLES └───────────┴────────────┴───────────────────────────────┘ ``` -_See code: [src/commands/deviceprofiles/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/deviceprofiles/translations.ts)_ +_See code: [src/commands/deviceprofiles/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/deviceprofiles/translations.ts)_ ## `smartthings deviceprofiles:translations:delete [ID] [TAG]` @@ -2775,7 +2776,7 @@ EXAMPLES Device profile "3acbf2fc-6be2-4be0-aeb5-44759cbd66c2" translation "en" deleted ``` -_See code: [src/commands/deviceprofiles/translations/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/deviceprofiles/translations/delete.ts)_ +_See code: [src/commands/deviceprofiles/translations/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/deviceprofiles/translations/delete.ts)_ ## `smartthings deviceprofiles:translations:upsert [ID]` @@ -2873,7 +2874,7 @@ EXAMPLES description: Switchable outlet 1 power ``` -_See code: [src/commands/deviceprofiles/translations/upsert.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/deviceprofiles/translations/upsert.ts)_ +_See code: [src/commands/deviceprofiles/translations/upsert.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/deviceprofiles/translations/upsert.ts)_ ## `smartthings deviceprofiles:update [ID]` @@ -2906,7 +2907,7 @@ ALIASES $ smartthings device-profiles:update ``` -_See code: [src/commands/deviceprofiles/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/deviceprofiles/update.ts)_ +_See code: [src/commands/deviceprofiles/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/deviceprofiles/update.ts)_ ## `smartthings deviceprofiles:view [ID]` @@ -2937,7 +2938,7 @@ ALIASES $ smartthings device-profiles:view ``` -_See code: [src/commands/deviceprofiles/view.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/deviceprofiles/view.ts)_ +_See code: [src/commands/deviceprofiles/view.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/deviceprofiles/view.ts)_ ## `smartthings deviceprofiles:view:create` @@ -3014,7 +3015,7 @@ EXAMPLES - capability: switch ``` -_See code: [src/commands/deviceprofiles/view/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/deviceprofiles/view/create.ts)_ +_See code: [src/commands/deviceprofiles/view/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/deviceprofiles/view/create.ts)_ ## `smartthings deviceprofiles:view:update [ID]` @@ -3100,7 +3101,7 @@ EXAMPLES - capability: switch ``` -_See code: [src/commands/deviceprofiles/view/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/deviceprofiles/view/update.ts)_ +_See code: [src/commands/deviceprofiles/view/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/deviceprofiles/view/update.ts)_ ## `smartthings devices [ID]` @@ -3120,12 +3121,12 @@ FLAGS "and". -H, --health include device health in response - -a, --installed-app-id= filter results by installed app that created the device + -a, --installed-app= filter results by installed app that created the device -c, --capability=... filter results by capability - -d, --device-id=... filter results by device + -d, --device=... filter results by device -h, --help Show CLI help. -j, --json use JSON format of input and/or output - -l, --location-id=... filter results by location + -l, --location=... filter results by location -o, --output= specify output file -p, --profile= [default: default] configuration profile -s, --status include attribute values in the response @@ -3141,7 +3142,7 @@ DESCRIPTION list all devices available in a user account or retrieve a single device ``` -_See code: [src/commands/devices.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/devices.ts)_ +_See code: [src/commands/devices.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/devices.ts)_ ## `smartthings devices:capability-status [ID] [COMPONENT] [CAPABILITY]` @@ -3170,7 +3171,7 @@ DESCRIPTION get the current status of all of a device capability's attributes ``` -_See code: [src/commands/devices/capability-status.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/devices/capability-status.ts)_ +_See code: [src/commands/devices/capability-status.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/devices/capability-status.ts)_ ## `smartthings devices:commands [ID] [COMMAND]` @@ -3207,7 +3208,7 @@ EXAMPLES $ smartthings devices:commands 00000000-0000-0000-0000-000000000000 'switchLevel:setLevel(50)' ``` -_See code: [src/commands/devices/commands.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/devices/commands.ts)_ +_See code: [src/commands/devices/commands.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/devices/commands.ts)_ ## `smartthings devices:component-status [ID] [COMPONENT]` @@ -3235,7 +3236,7 @@ DESCRIPTION get the current status of a device component's attributes ``` -_See code: [src/commands/devices/component-status.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/devices/component-status.ts)_ +_See code: [src/commands/devices/component-status.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/devices/component-status.ts)_ ## `smartthings devices:delete [ID]` @@ -3258,7 +3259,7 @@ DESCRIPTION delete a device ``` -_See code: [src/commands/devices/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/devices/delete.ts)_ +_See code: [src/commands/devices/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/devices/delete.ts)_ ## `smartthings devices:health [ID]` @@ -3284,7 +3285,7 @@ DESCRIPTION get the current health status of a device ``` -_See code: [src/commands/devices/health.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/devices/health.ts)_ +_See code: [src/commands/devices/health.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/devices/health.ts)_ ## `smartthings devices:history [ID]` @@ -3317,7 +3318,7 @@ DESCRIPTION get the current preferences of a device ``` -_See code: [src/commands/devices/history.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/devices/history.ts)_ +_See code: [src/commands/devices/history.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/devices/history.ts)_ ## `smartthings devices:preferences [ID]` @@ -3343,7 +3344,7 @@ DESCRIPTION get the current preferences of a device ``` -_See code: [src/commands/devices/preferences.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/devices/preferences.ts)_ +_See code: [src/commands/devices/preferences.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/devices/preferences.ts)_ ## `smartthings devices:presentation [ID]` @@ -3369,7 +3370,7 @@ DESCRIPTION get a device presentation ``` -_See code: [src/commands/devices/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/devices/presentation.ts)_ +_See code: [src/commands/devices/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/devices/presentation.ts)_ ## `smartthings devices:rename [ID] [LABEL]` @@ -3397,7 +3398,7 @@ DESCRIPTION rename a device ``` -_See code: [src/commands/devices/rename.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/devices/rename.ts)_ +_See code: [src/commands/devices/rename.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/devices/rename.ts)_ ## `smartthings devices:status [ID]` @@ -3423,7 +3424,7 @@ DESCRIPTION get the current status of all of a device's component's attributes ``` -_See code: [src/commands/devices/status.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/devices/status.ts)_ +_See code: [src/commands/devices/status.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/devices/status.ts)_ ## `smartthings devices:update [ID]` @@ -3452,7 +3453,7 @@ DESCRIPTION update a device's label and room ``` -_See code: [src/commands/devices/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/devices/update.ts)_ +_See code: [src/commands/devices/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/devices/update.ts)_ ## `smartthings edge:channels [IDORINDEX]` @@ -3496,7 +3497,7 @@ EXAMPLES $ smartthings edge:channels --subscriber-type HUB --subscriber-id ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/channels.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/channels.ts)_ ## `smartthings edge:channels:assign [DRIVERID] [VERSION]` @@ -3526,7 +3527,7 @@ ALIASES $ smartthings edge:drivers:publish ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/channels/assign.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/channels/assign.ts)_ ## `smartthings edge:channels:assignments [IDORINDEX]` @@ -3582,7 +3583,7 @@ DESCRIPTION create a channel ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/channels/create.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/channels/create.ts)_ ## `smartthings edge:channels:delete [ID]` @@ -3606,7 +3607,7 @@ DESCRIPTION delete a channel ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/channels/delete.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/channels/delete.ts)_ ## `smartthings edge:channels:drivers [IDORINDEX]` @@ -3637,7 +3638,7 @@ ALIASES $ smartthings edge:channels:assignments ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/channels/drivers.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/channels/drivers.ts)_ ## `smartthings edge:channels:enroll [HUBID]` @@ -3663,7 +3664,7 @@ DESCRIPTION enroll a hub in a channel ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/channels/enroll.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/channels/enroll.ts)_ ## `smartthings edge:channels:enrollments [IDORINDEX]` @@ -3691,7 +3692,7 @@ DESCRIPTION list all channels a given hub is enrolled in ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/channels/enrollments.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/channels/enrollments.ts)_ ## `smartthings edge:channels:invitations [IDORINDEX]` @@ -3883,7 +3884,7 @@ EXAMPLES $ smartthings edge:channels:invites # list details about the invite with id ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/channels/invites.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/channels/invites.ts)_ ## `smartthings edge:channels:invites:accept ID` @@ -3910,7 +3911,7 @@ ALIASES $ smartthings edge:channels:invitations:accept ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/channels/invites/accept.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/channels/invites/accept.ts)_ ## `smartthings edge:channels:invites:create` @@ -3941,7 +3942,7 @@ ALIASES $ smartthings edge:channels:invitations:create ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/channels/invites/create.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/channels/invites/create.ts)_ ## `smartthings edge:channels:invites:delete [ID]` @@ -3972,7 +3973,7 @@ ALIASES $ smartthings edge:channels:invites:revoke ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/channels/invites/delete.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/channels/invites/delete.ts)_ ## `smartthings edge:channels:invites:revoke [ID]` @@ -4043,7 +4044,7 @@ EXAMPLES 699c7308-8c72-4363-9571-880d0f5cc725 ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/channels/metainfo.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/channels/metainfo.ts)_ ## `smartthings edge:channels:unassign [DRIVERID]` @@ -4072,7 +4073,7 @@ ALIASES $ smartthings edge:drivers:unpublish ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/channels/unassign.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/channels/unassign.ts)_ ## `smartthings edge:channels:unenroll [HUBID]` @@ -4098,7 +4099,7 @@ DESCRIPTION unenroll a hub from a channel ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/channels/unenroll.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/channels/unenroll.ts)_ ## `smartthings edge:channels:update [ID]` @@ -4128,7 +4129,7 @@ DESCRIPTION update a channel ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/channels/update.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/channels/update.ts)_ ## `smartthings edge:drivers [IDORINDEX]` @@ -4177,7 +4178,7 @@ EXAMPLES $ smartthings edge:drivers 699c7308-8c72-4363-9571-880d0f5cc725 --version 2021-10-25T00:48:23.295969 ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/drivers.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/drivers.ts)_ ## `smartthings edge:drivers:default` @@ -4207,7 +4208,7 @@ EXAMPLES $ smartthings edge:drivers:default ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/drivers/default.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/drivers/default.ts)_ ## `smartthings edge:drivers:delete [ID]` @@ -4231,7 +4232,7 @@ DESCRIPTION delete an edge driver ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/drivers/delete.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/drivers/delete.ts)_ ## `smartthings edge:drivers:install [DRIVERID]` @@ -4265,7 +4266,7 @@ EXAMPLES $ smartthings edge:drivers:install -H -C # install a driver from a channel on an enrolled hub ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/drivers/install.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/drivers/install.ts)_ ## `smartthings edge:drivers:installed [IDORINDEX]` @@ -4295,7 +4296,7 @@ DESCRIPTION list all drivers installed on a given hub ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/drivers/installed.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/drivers/installed.ts)_ ## `smartthings edge:drivers:logcat [DRIVERID]` @@ -4323,7 +4324,7 @@ DESCRIPTION stream logs from installed drivers ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/drivers/logcat.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/drivers/logcat.ts)_ ## `smartthings edge:drivers:package [PROJECTDIRECTORY]` @@ -4377,7 +4378,7 @@ EXAMPLES $ smartthings edge:drivers:package -u driver.zip ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/drivers/package.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/drivers/package.ts)_ ## `smartthings edge:drivers:publish [DRIVERID] [VERSION]` @@ -4444,7 +4445,7 @@ EXAMPLES $ smartthings edge:drivers:switch --include-non-matching ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/drivers/switch.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/drivers/switch.ts)_ ## `smartthings edge:drivers:uninstall [DRIVERID]` @@ -4470,7 +4471,7 @@ DESCRIPTION uninstall an edge driver from a hub ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.3/src/commands/edge/drivers/uninstall.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.15.5/src/commands/edge/drivers/uninstall.ts)_ ## `smartthings edge:drivers:unpublish [DRIVERID]` @@ -4499,6 +4500,26 @@ ALIASES $ smartthings edge:drivers:unpublish ``` +## `smartthings help [COMMAND]` + +Display help for smartthings. + +``` +USAGE + $ smartthings help [COMMAND] [-n] + +ARGUMENTS + COMMAND Command to show help for. + +FLAGS + -n, --nested-commands Include all nested commands in the output. + +DESCRIPTION + Display help for smartthings. +``` + +_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.12/src/commands/help.ts)_ + ## `smartthings installedapps [ID]` get a specific app or a list of apps @@ -4512,21 +4533,21 @@ ARGUMENTS ID the app id FLAGS - -h, --help Show CLI help. - -j, --json use JSON format of input and/or output - -l, --location-id=... filter results by location - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -v, --verbose include location name in output - -y, --yaml use YAML format of input and/or output - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -h, --help Show CLI help. + -j, --json use JSON format of input and/or output + -l, --location=... filter results by location + -o, --output= specify output file + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -v, --verbose include location name in output + -y, --yaml use YAML format of input and/or output + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION get a specific app or a list of apps ``` -_See code: [src/commands/installedapps.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/installedapps.ts)_ +_See code: [src/commands/installedapps.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/installedapps.ts)_ ## `smartthings installedapps:delete [ID]` @@ -4540,18 +4561,18 @@ ARGUMENTS ID installed app UUID FLAGS - -h, --help Show CLI help. - -l, --location-id=... filter results by location - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -v, --verbose include location name in output - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -h, --help Show CLI help. + -l, --location=... filter results by location + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -v, --verbose include location name in output + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION delete the installed app instance ``` -_See code: [src/commands/installedapps/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/installedapps/delete.ts)_ +_See code: [src/commands/installedapps/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/installedapps/delete.ts)_ ## `smartthings installedapps:rename [ID] [NAME]` @@ -4567,21 +4588,21 @@ ARGUMENTS NAME the new installed app name FLAGS - -h, --help Show CLI help. - -j, --json use JSON format of input and/or output - -l, --location-id=... filter results by location - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -v, --verbose include location name in output - -y, --yaml use YAML format of input and/or output - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -h, --help Show CLI help. + -j, --json use JSON format of input and/or output + -l, --location=... filter results by location + -o, --output= specify output file + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -v, --verbose include location name in output + -y, --yaml use YAML format of input and/or output + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION renamed an installed app instance ``` -_See code: [src/commands/installedapps/rename.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/installedapps/rename.ts)_ +_See code: [src/commands/installedapps/rename.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/installedapps/rename.ts)_ ## `smartthings installedschema [ID]` @@ -4596,21 +4617,21 @@ ARGUMENTS ID the isa id FLAGS - -h, --help Show CLI help. - -j, --json use JSON format of input and/or output - -l, --location-id=... filter results by location - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -v, --verbose include location name in output - -y, --yaml use YAML format of input and/or output - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -h, --help Show CLI help. + -j, --json use JSON format of input and/or output + -l, --location=... filter results by location + -o, --output= specify output file + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -v, --verbose include location name in output + -y, --yaml use YAML format of input and/or output + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION get a specific schema connector instance or a list of instances ``` -_See code: [src/commands/installedschema.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/installedschema.ts)_ +_See code: [src/commands/installedschema.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/installedschema.ts)_ ## `smartthings installedschema:delete [ID]` @@ -4624,18 +4645,18 @@ ARGUMENTS ID installed schema connector UUID FLAGS - -h, --help Show CLI help. - -l, --location-id=... filter results by location - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -v, --verbose include location name in output - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -h, --help Show CLI help. + -l, --location=... filter results by location + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -v, --verbose include location name in output + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION delete the installed schema connector instance ``` -_See code: [src/commands/installedschema/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/installedschema/delete.ts)_ +_See code: [src/commands/installedschema/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/installedschema/delete.ts)_ ## `smartthings locations [IDORINDEX]` @@ -4661,7 +4682,7 @@ DESCRIPTION list locations or get information for a specific Location ``` -_See code: [src/commands/locations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/locations.ts)_ +_See code: [src/commands/locations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/locations.ts)_ ## `smartthings locations:create` @@ -4687,7 +4708,7 @@ DESCRIPTION create a Location for a user ``` -_See code: [src/commands/locations/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/locations/create.ts)_ +_See code: [src/commands/locations/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/locations/create.ts)_ ## `smartthings locations:delete [ID]` @@ -4715,7 +4736,7 @@ EXAMPLES $ smartthings locations:delete my-location-id # delete the location with the specified id ``` -_See code: [src/commands/locations/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/locations/delete.ts)_ +_See code: [src/commands/locations/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/locations/delete.ts)_ ## `smartthings locations:history [ID]` @@ -4748,7 +4769,7 @@ DESCRIPTION get the current preferences of a device ``` -_See code: [src/commands/locations/history.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/locations/history.ts)_ +_See code: [src/commands/locations/history.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/locations/history.ts)_ ## `smartthings locations:rooms [IDORINDEX]` @@ -4763,15 +4784,15 @@ ARGUMENTS IDORINDEX room UUID or index FLAGS - -h, --help Show CLI help. - -j, --json use JSON format of input and/or output - -l, --location-id= a specific location to query - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -v, --verbose include location name in output - -y, --yaml use YAML format of input and/or output - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -h, --help Show CLI help. + -j, --json use JSON format of input and/or output + -l, --location= a specific location to query + -o, --output= specify output file + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -v, --verbose include location name in output + -y, --yaml use YAML format of input and/or output + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION list rooms or get information for a specific room @@ -4780,7 +4801,7 @@ ALIASES $ smartthings rooms ``` -_See code: [src/commands/locations/rooms.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/locations/rooms.ts)_ +_See code: [src/commands/locations/rooms.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/locations/rooms.ts)_ ## `smartthings locations:rooms:create` @@ -4792,16 +4813,16 @@ USAGE ] [-d] [-l ] FLAGS - -d, --dry-run produce JSON but don't actually submit - -h, --help Show CLI help. - -i, --input= specify input file - -j, --json use JSON format of input and/or output - -l, --location-id= a specific location to query - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -y, --yaml use YAML format of input and/or output - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -d, --dry-run produce JSON but don't actually submit + -h, --help Show CLI help. + -i, --input= specify input file + -j, --json use JSON format of input and/or output + -l, --location= a specific location to query + -o, --output= specify output file + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -y, --yaml use YAML format of input and/or output + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION create a room @@ -4810,7 +4831,7 @@ ALIASES $ smartthings rooms:create ``` -_See code: [src/commands/locations/rooms/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/locations/rooms/create.ts)_ +_See code: [src/commands/locations/rooms/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/locations/rooms/create.ts)_ ## `smartthings locations:rooms:delete [ID]` @@ -4824,11 +4845,11 @@ ARGUMENTS ID room UUID FLAGS - -h, --help Show CLI help. - -l, --location-id= a specific location to query - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -h, --help Show CLI help. + -l, --location= a specific location to query + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION delete a room @@ -4837,7 +4858,7 @@ ALIASES $ smartthings rooms:delete ``` -_See code: [src/commands/locations/rooms/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/locations/rooms/delete.ts)_ +_See code: [src/commands/locations/rooms/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/locations/rooms/delete.ts)_ ## `smartthings locations:rooms:update [ID]` @@ -4852,16 +4873,16 @@ ARGUMENTS ID room UUID FLAGS - -d, --dry-run produce JSON but don't actually submit - -h, --help Show CLI help. - -i, --input= specify input file - -j, --json use JSON format of input and/or output - -l, --location-id= a specific location to query - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -y, --yaml use YAML format of input and/or output - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -d, --dry-run produce JSON but don't actually submit + -h, --help Show CLI help. + -i, --input= specify input file + -j, --json use JSON format of input and/or output + -l, --location= a specific location to query + -o, --output= specify output file + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -y, --yaml use YAML format of input and/or output + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION update a room @@ -4870,7 +4891,7 @@ ALIASES $ smartthings rooms:update ``` -_See code: [src/commands/locations/rooms/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/locations/rooms/update.ts)_ +_See code: [src/commands/locations/rooms/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/locations/rooms/update.ts)_ ## `smartthings locations:update [ID]` @@ -4899,7 +4920,7 @@ DESCRIPTION update a location ``` -_See code: [src/commands/locations/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/locations/update.ts)_ +_See code: [src/commands/locations/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/locations/update.ts)_ ## `smartthings logout` @@ -4914,7 +4935,7 @@ FLAGS --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [src/commands/logout.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/logout.ts)_ +_See code: [src/commands/logout.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/logout.ts)_ ## `smartthings organizations [ID]` @@ -4940,7 +4961,7 @@ DESCRIPTION list all organizations the user belongs to ``` -_See code: [src/commands/organizations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/organizations.ts)_ +_See code: [src/commands/organizations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/organizations.ts)_ ## `smartthings organizations:current` @@ -4965,7 +4986,7 @@ DESCRIPTION return the currently active organization ``` -_See code: [src/commands/organizations/current.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/organizations/current.ts)_ +_See code: [src/commands/organizations/current.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/organizations/current.ts)_ ## `smartthings plugins` @@ -5252,7 +5273,7 @@ EXAMPLES flag then no language header is specified in the API request ``` -_See code: [src/commands/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/presentation.ts)_ +_See code: [src/commands/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/presentation.ts)_ ## `smartthings presentation:device-config PRESENTATIONID [MANUFACTURERNAME]` @@ -5280,7 +5301,7 @@ DESCRIPTION query device config by presentationId ``` -_See code: [src/commands/presentation/device-config.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/presentation/device-config.ts)_ +_See code: [src/commands/presentation/device-config.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/presentation/device-config.ts)_ ## `smartthings presentation:device-config:create` @@ -5306,7 +5327,7 @@ DESCRIPTION create a device config ``` -_See code: [src/commands/presentation/device-config/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/presentation/device-config/create.ts)_ +_See code: [src/commands/presentation/device-config/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/presentation/device-config/create.ts)_ ## `smartthings presentation:device-config:generate ID` @@ -5315,28 +5336,28 @@ generate the default device configuration ``` USAGE $ smartthings presentation:device-config:generate [ID] [-h] [-p ] [-t ] [--language ] [-j] [-y] [-o ] - [--dth] [--type-shard-id ] + [--dth] [--type-shard ] ARGUMENTS ID the profile id (or legacy DTH id)) FLAGS - -h, --help Show CLI help. - -j, --json use JSON format of input and/or output - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -y, --yaml use YAML format of input and/or output - --dth generate from legacy DTH id instead of a profile id - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale - --type-shard-id= data management shard Id where the device type resides, only useful for legacy DTH type - integrations + -h, --help Show CLI help. + -j, --json use JSON format of input and/or output + -o, --output= specify output file + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -y, --yaml use YAML format of input and/or output + --dth generate from legacy DTH id instead of a profile id + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + --type-shard= data management shard Id where the device type resides, only useful for legacy DTH type + integrations DESCRIPTION generate the default device configuration ``` -_See code: [src/commands/presentation/device-config/generate.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/presentation/device-config/generate.ts)_ +_See code: [src/commands/presentation/device-config/generate.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/presentation/device-config/generate.ts)_ ## `smartthings rooms [IDORINDEX]` @@ -5351,15 +5372,15 @@ ARGUMENTS IDORINDEX room UUID or index FLAGS - -h, --help Show CLI help. - -j, --json use JSON format of input and/or output - -l, --location-id= a specific location to query - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -v, --verbose include location name in output - -y, --yaml use YAML format of input and/or output - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -h, --help Show CLI help. + -j, --json use JSON format of input and/or output + -l, --location= a specific location to query + -o, --output= specify output file + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -v, --verbose include location name in output + -y, --yaml use YAML format of input and/or output + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION list rooms or get information for a specific room @@ -5378,16 +5399,16 @@ USAGE ] [-d] [-l ] FLAGS - -d, --dry-run produce JSON but don't actually submit - -h, --help Show CLI help. - -i, --input= specify input file - -j, --json use JSON format of input and/or output - -l, --location-id= a specific location to query - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -y, --yaml use YAML format of input and/or output - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -d, --dry-run produce JSON but don't actually submit + -h, --help Show CLI help. + -i, --input= specify input file + -j, --json use JSON format of input and/or output + -l, --location= a specific location to query + -o, --output= specify output file + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -y, --yaml use YAML format of input and/or output + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION create a room @@ -5408,11 +5429,11 @@ ARGUMENTS ID room UUID FLAGS - -h, --help Show CLI help. - -l, --location-id= a specific location to query - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -h, --help Show CLI help. + -l, --location= a specific location to query + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION delete a room @@ -5434,16 +5455,16 @@ ARGUMENTS ID room UUID FLAGS - -d, --dry-run produce JSON but don't actually submit - -h, --help Show CLI help. - -i, --input= specify input file - -j, --json use JSON format of input and/or output - -l, --location-id= a specific location to query - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -y, --yaml use YAML format of input and/or output - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -d, --dry-run produce JSON but don't actually submit + -h, --help Show CLI help. + -i, --input= specify input file + -j, --json use JSON format of input and/or output + -l, --location= a specific location to query + -o, --output= specify output file + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -y, --yaml use YAML format of input and/or output + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION update a room @@ -5465,20 +5486,20 @@ ARGUMENTS IDORINDEX rule UUID or index FLAGS - -h, --help Show CLI help. - -j, --json use JSON format of input and/or output - -l, --location-id= a specific location to query - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -y, --yaml use YAML format of input and/or output - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -h, --help Show CLI help. + -j, --json use JSON format of input and/or output + -l, --location= a specific location to query + -o, --output= specify output file + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -y, --yaml use YAML format of input and/or output + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION get a specific rule ``` -_See code: [src/commands/rules.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/rules.ts)_ +_See code: [src/commands/rules.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/rules.ts)_ ## `smartthings rules:create` @@ -5490,22 +5511,22 @@ USAGE ] [-d] [-l ] FLAGS - -d, --dry-run produce JSON but don't actually submit - -h, --help Show CLI help. - -i, --input= specify input file - -j, --json use JSON format of input and/or output - -l, --location-id= a specific location to query - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -y, --yaml use YAML format of input and/or output - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -d, --dry-run produce JSON but don't actually submit + -h, --help Show CLI help. + -i, --input= specify input file + -j, --json use JSON format of input and/or output + -l, --location= a specific location to query + -o, --output= specify output file + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -y, --yaml use YAML format of input and/or output + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION create a rule ``` -_See code: [src/commands/rules/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/rules/create.ts)_ +_See code: [src/commands/rules/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/rules/create.ts)_ ## `smartthings rules:delete [ID]` @@ -5519,17 +5540,17 @@ ARGUMENTS ID rule UUID FLAGS - -h, --help Show CLI help. - -l, --location-id= a specific location to query - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -h, --help Show CLI help. + -l, --location= a specific location to query + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION delete a rule ``` -_See code: [src/commands/rules/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/rules/delete.ts)_ +_See code: [src/commands/rules/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/rules/delete.ts)_ ## `smartthings rules:execute [ID]` @@ -5544,14 +5565,14 @@ ARGUMENTS ID rule UUID FLAGS - -h, --help Show CLI help. - -j, --json use JSON format of input and/or output - -l, --location-id= a specific location to query - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -y, --yaml use YAML format of input and/or output - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -h, --help Show CLI help. + -j, --json use JSON format of input and/or output + -l, --location= a specific location to query + -o, --output= specify output file + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -y, --yaml use YAML format of input and/or output + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION execute a rule @@ -5568,7 +5589,7 @@ EXAMPLES $ smartthings rules:execute 699c7308-8c72-4363-9571-880d0f5cc725 ``` -_See code: [src/commands/rules/execute.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/rules/execute.ts)_ +_See code: [src/commands/rules/execute.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/rules/execute.ts)_ ## `smartthings rules:update [ID]` @@ -5583,22 +5604,22 @@ ARGUMENTS ID rule UUID FLAGS - -d, --dry-run produce JSON but don't actually submit - -h, --help Show CLI help. - -i, --input= specify input file - -j, --json use JSON format of input and/or output - -l, --location-id= a specific location to query - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -y, --yaml use YAML format of input and/or output - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -d, --dry-run produce JSON but don't actually submit + -h, --help Show CLI help. + -i, --input= specify input file + -j, --json use JSON format of input and/or output + -l, --location= a specific location to query + -o, --output= specify output file + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -y, --yaml use YAML format of input and/or output + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION update a rule ``` -_See code: [src/commands/rules/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/rules/update.ts)_ +_See code: [src/commands/rules/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/rules/update.ts)_ ## `smartthings scenes [IDORINDEX]` @@ -5613,20 +5634,20 @@ ARGUMENTS IDORINDEX the scene id or number in list FLAGS - -h, --help Show CLI help. - -j, --json use JSON format of input and/or output - -l, --location-id=... a specific location to query - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -y, --yaml use YAML format of input and/or output - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -h, --help Show CLI help. + -j, --json use JSON format of input and/or output + -l, --location=... a specific location to query + -o, --output= specify output file + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -y, --yaml use YAML format of input and/or output + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION list scenes or get information for a specific scene ``` -_See code: [src/commands/scenes.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/scenes.ts)_ +_See code: [src/commands/scenes.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/scenes.ts)_ ## `smartthings scenes:execute [ID]` @@ -5663,7 +5684,7 @@ EXAMPLES $ smartthings scenes:execute 699c7308-8c72-4363-9571-880d0f5cc725 ``` -_See code: [src/commands/scenes/execute.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/scenes/execute.ts)_ +_See code: [src/commands/scenes/execute.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/scenes/execute.ts)_ ## `smartthings schema [ID]` @@ -5690,7 +5711,7 @@ DESCRIPTION list all ST Schema Apps currently available in a user account ``` -_See code: [src/commands/schema.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/schema.ts)_ +_See code: [src/commands/schema.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/schema.ts)_ ## `smartthings schema:authorize ARN` @@ -5698,16 +5719,16 @@ authorize calls to your ST Schema Lambda function from SmartThings ``` USAGE - $ smartthings schema:authorize [ARN] [-h] [-p ] [--principal ] [--statement-id ] + $ smartthings schema:authorize [ARN] [-h] [-p ] [--principal ] [--statement ] ARGUMENTS ARN the ARN of the AWS Lambda function FLAGS - -h, --help Show CLI help. - -p, --profile= [default: default] configuration profile - --principal= use this principal instead of the default when authorizing lambda functions - --statement-id= use this statement id instead of the default when authorizing lambda functions + -h, --help Show CLI help. + -p, --profile= [default: default] configuration profile + --principal= use this principal instead of the default when authorizing lambda functions + --statement= use this statement id instead of the default when authorizing lambda functions DESCRIPTION authorize calls to your ST Schema Lambda function from SmartThings @@ -5725,14 +5746,14 @@ EXAMPLES --function-name arn:aws:lambda:us-east-1:1234567890:function:your-test-app \ - --statement-id smartthings --principal 148790070172 --action lambda:InvokeFunction + --statement smartthings --principal 148790070172 --action lambda:InvokeFunction It requires your machine to be configured to run the AWS CLI ``` -_See code: [src/commands/schema/authorize.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/schema/authorize.ts)_ +_See code: [src/commands/schema/authorize.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/schema/authorize.ts)_ ## `smartthings schema:create` @@ -5741,27 +5762,27 @@ create an ST Schema connector ``` USAGE $ smartthings schema:create [-h] [-p ] [-t ] [--language ] [-j] [-y] [-i ] [-o - ] [-d] [--authorize] [--principal ] [--statement-id ] + ] [-d] [--authorize] [--principal ] [--statement ] FLAGS - -d, --dry-run produce JSON but don't actually submit - -h, --help Show CLI help. - -i, --input= specify input file - -j, --json use JSON format of input and/or output - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -y, --yaml use YAML format of input and/or output - --authorize authorize connector's Lambda functions to be called by SmartThings - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale - --principal= use this principal instead of the default when authorizing lambda functions - --statement-id= use this statement id instead of the default when authorizing lambda functions + -d, --dry-run produce JSON but don't actually submit + -h, --help Show CLI help. + -i, --input= specify input file + -j, --json use JSON format of input and/or output + -o, --output= specify output file + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -y, --yaml use YAML format of input and/or output + --authorize authorize connector's Lambda functions to be called by SmartThings + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + --principal= use this principal instead of the default when authorizing lambda functions + --statement= use this statement id instead of the default when authorizing lambda functions DESCRIPTION create an ST Schema connector ``` -_See code: [src/commands/schema/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/schema/create.ts)_ +_See code: [src/commands/schema/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/schema/create.ts)_ ## `smartthings schema:delete [ID]` @@ -5784,7 +5805,7 @@ DESCRIPTION delete the ST Schema connector ``` -_See code: [src/commands/schema/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/schema/delete.ts)_ +_See code: [src/commands/schema/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/schema/delete.ts)_ ## `smartthings schema:regenerate [ID]` @@ -5811,7 +5832,7 @@ DESCRIPTION may affect existing installations. ``` -_See code: [src/commands/schema/regenerate.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/schema/regenerate.ts)_ +_See code: [src/commands/schema/regenerate.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/schema/regenerate.ts)_ ## `smartthings schema:update [ID]` @@ -5820,28 +5841,28 @@ update an ST Schema connector ``` USAGE $ smartthings schema:update [ID] [-h] [-p ] [-t ] [--language ] [-j] [-y] [-i ] - [--authorize] [--principal ] [--statement-id ] + [--authorize] [--principal ] [--statement ] ARGUMENTS ID the app id FLAGS - -h, --help Show CLI help. - -i, --input= specify input file - -j, --json use JSON format of input and/or output - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -y, --yaml use YAML format of input and/or output - --authorize authorize Lambda functions to be called by SmartThings - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale - --principal= use this principal instead of the default when authorizing lambda functions - --statement-id= use this statement id instead of the default when authorizing lambda functions + -h, --help Show CLI help. + -i, --input= specify input file + -j, --json use JSON format of input and/or output + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -y, --yaml use YAML format of input and/or output + --authorize authorize Lambda functions to be called by SmartThings + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + --principal= use this principal instead of the default when authorizing lambda functions + --statement= use this statement id instead of the default when authorizing lambda functions DESCRIPTION update an ST Schema connector ``` -_See code: [src/commands/schema/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/schema/update.ts)_ +_See code: [src/commands/schema/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/schema/update.ts)_ ## `smartthings virtualdevices [ID]` @@ -5856,22 +5877,22 @@ ARGUMENTS ID device to retrieve; UUID or the number of the device from list FLAGS - -a, --installed-app-id= filter results by installed app that created the device - -h, --help Show CLI help. - -j, --json use JSON format of input and/or output - -l, --location-id=... filter results by location - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -v, --verbose include location name in output - -y, --yaml use YAML format of input and/or output - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -a, --installed-app= filter results by installed app that created the device + -h, --help Show CLI help. + -j, --json use JSON format of input and/or output + -l, --location=... filter results by location + -o, --output= specify output file + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -v, --verbose include location name in output + -y, --yaml use YAML format of input and/or output + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION list all virtual devices available in a user account or retrieve a single device ``` -_See code: [src/commands/virtualdevices.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/virtualdevices.ts)_ +_See code: [src/commands/virtualdevices.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/virtualdevices.ts)_ ## `smartthings virtualdevices:create` @@ -5885,14 +5906,14 @@ USAGE FLAGS -N, --name= name of the device to be created -O, --organization= the organization ID to use for this command - -P, --device-profile-id= the device profile ID - -R, --room-id= the room to put the device into + -P, --device-profile= the device profile ID + -R, --room= the room to put the device into -d, --dry-run produce JSON but don't actually submit -f, --device-profile-file= a file containing the device profile definition -h, --help Show CLI help. -i, --input= specify input file -j, --json use JSON format of input and/or output - -l, --location-id= location into which device should be created + -l, --location= location into which device should be created -o, --output= specify output file -p, --profile= [default: default] configuration profile -t, --token= the auth token to use @@ -5915,14 +5936,14 @@ EXAMPLES $ smartthings virtualdevices:create \ # using command line parameters for everything > --name="My Second Device" \ - > --device-profile-id=7633ef68-6433-47ab-89c3-deb04b8b0d61 \ - > --location-id=95bdd473-4498-42fc-b932-974d6e5c236e \ - > --room-id=c7266cb7-7dcc-4958-8bc4-4288f5b50e1b + > --device-profile=7633ef68-6433-47ab-89c3-deb04b8b0d61 \ + > --location=95bdd473-4498-42fc-b932-974d6e5c236e \ + > --room=c7266cb7-7dcc-4958-8bc4-4288f5b50e1b $ smartthings virtualdevices:create -f profile.yml # using a device profile and prompting for the remaining values ``` -_See code: [src/commands/virtualdevices/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/virtualdevices/create.ts)_ +_See code: [src/commands/virtualdevices/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/virtualdevices/create.ts)_ ## `smartthings virtualdevices:create-standard` @@ -5934,19 +5955,19 @@ USAGE ] [-d] [-N ] [-l ] [-R ] [-T ] FLAGS - -N, --name= name of the device to be created - -R, --room-id= the room to put the device into - -T, --prototype= standard device prototype, e.g. VIRTUAL_SWITCH or VIRTUAL_DIMMER_SWITCH - -d, --dry-run produce JSON but don't actually submit - -h, --help Show CLI help. - -i, --input= specify input file - -j, --json use JSON format of input and/or output - -l, --location-id= location into which device should be created - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -y, --yaml use YAML format of input and/or output - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + -N, --name= name of the device to be created + -R, --room= the room to put the device into + -T, --prototype= standard device prototype, e.g. VIRTUAL_SWITCH or VIRTUAL_DIMMER_SWITCH + -d, --dry-run produce JSON but don't actually submit + -h, --help Show CLI help. + -i, --input= specify input file + -j, --json use JSON format of input and/or output + -l, --location= location into which device should be created + -o, --output= specify output file + -p, --profile= [default: default] configuration profile + -t, --token= the auth token to use + -y, --yaml use YAML format of input and/or output + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION create a device from one of the standard prototypes. @@ -5965,11 +5986,11 @@ EXAMPLES $ smartthings virtualdevices:create-standard \ # using command line parameters for everything > --name="My Second Device" \ > --prototype=VIRTUAL_SWITCH \ - > --location-id=95bdd473-4498-42fc-b932-974d6e5c236e \ - > --room-id=c7266cb7-7dcc-4958-8bc4-4288f5b50e1b + > --location=95bdd473-4498-42fc-b932-974d6e5c236e \ + > --room=c7266cb7-7dcc-4958-8bc4-4288f5b50e1b ``` -_See code: [src/commands/virtualdevices/create-standard.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/virtualdevices/create-standard.ts)_ +_See code: [src/commands/virtualdevices/create-standard.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/virtualdevices/create-standard.ts)_ ## `smartthings virtualdevices:delete [ID]` @@ -5992,7 +6013,7 @@ DESCRIPTION delete a virtual device ``` -_See code: [src/commands/virtualdevices/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/virtualdevices/delete.ts)_ +_See code: [src/commands/virtualdevices/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/virtualdevices/delete.ts)_ ## `smartthings virtualdevices:events [ID] [NAME] [VALUE] [UNIT]` @@ -6036,7 +6057,7 @@ EXAMPLES $ smartthings virtualdevices:events temperatureMeasurement:temperature 22.5 C # command line input ``` -_See code: [src/commands/virtualdevices/events.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/virtualdevices/events.ts)_ +_See code: [src/commands/virtualdevices/events.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/virtualdevices/events.ts)_ ## `smartthings virtualdevices:update [ID]` @@ -6065,7 +6086,7 @@ DESCRIPTION update a virtual device's label and room ``` -_See code: [src/commands/virtualdevices/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.16/packages/cli/src/commands/virtualdevices/update.ts)_ +_See code: [src/commands/virtualdevices/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.17/packages/cli/src/commands/virtualdevices/update.ts)_ # Configuration and Logging diff --git a/packages/cli/package.json b/packages/cli/package.json index de3f1c3b1..f0ed96087 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@smartthings/cli", - "version": "1.0.0-beta.16", + "version": "1.0.0-beta.17", "description": "Command Line Interface for the SmartThings APIs", "author": "SmartThings, Inc.", "bin": { @@ -72,7 +72,7 @@ "@oclif/plugin-help": "^5.1.12", "@oclif/plugin-not-found": "^2.3.1", "@oclif/plugin-plugins": "^2.1.0", - "@smartthings/cli-lib": "^1.0.0-beta.14", + "@smartthings/cli-lib": "^1.0.0-beta.15", "@smartthings/core-sdk": "^5.1.1", "@smartthings/plugin-cli-edge": "^1.15.5", "aws-sdk": "^2.1175.0", diff --git a/packages/lib/CHANGELOG.md b/packages/lib/CHANGELOG.md index 05e4b1e6d..54b47938d 100644 --- a/packages/lib/CHANGELOG.md +++ b/packages/lib/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## 1.0.0-beta.15 + +### Patch Changes + +- [#398](https://github.com/SmartThingsCommunity/smartthings-cli/pull/398) [`d20ad61`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/d20ad6198f663a5ecb04af1d80ccf42d10214fa9) Thanks [@rossiam](https://github.com/rossiam)! - IMPORTANT: removed `-id` suffix from command line flags that had them for consistency + +* [#392](https://github.com/SmartThingsCommunity/smartthings-cli/pull/392) [`594b5c7`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/594b5c73b3803e6f7f4e47fa175e5aee5df4f250) Thanks [@rossiam](https://github.com/rossiam)! - added `withLocation` function to add location information to single item (similar to `withLocations` for multiple items) + ## 1.0.0-beta.14 ### Patch Changes diff --git a/packages/lib/package.json b/packages/lib/package.json index 479744207..1beb22b34 100644 --- a/packages/lib/package.json +++ b/packages/lib/package.json @@ -1,6 +1,6 @@ { "name": "@smartthings/cli-lib", - "version": "1.0.0-beta.14", + "version": "1.0.0-beta.15", "description": "SmartThings CLI utility library", "author": "SmartThings, Inc.", "bugs": {