From d73044fe04ed508fc67243f327b432c14b38e9f7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 30 Jun 2022 15:20:02 +0000 Subject: [PATCH] chore(changesets): version packages (beta) --- .changeset/pre.json | 7 +- package-lock.json | 18 +-- packages/cli/CHANGELOG.md | 13 ++ packages/cli/README.md | 251 +++++++++++++++++++++------------- packages/cli/package.json | 6 +- packages/lib/CHANGELOG.md | 10 ++ packages/lib/package.json | 2 +- packages/testlib/CHANGELOG.md | 13 ++ packages/testlib/package.json | 4 +- 9 files changed, 216 insertions(+), 108 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 73a3740d5..0ea255a21 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -21,9 +21,14 @@ "mean-shoes-heal", "moody-fishes-protect", "nice-files-approve", + "odd-fireants-act", + "purple-steaks-behave", "short-cows-sing", "silent-pianos-mate", + "slow-gorillas-care", "smart-meals-hammer", - "thirty-badgers-compare" + "stale-spoons-tell", + "thirty-badgers-compare", + "wet-cherries-wink" ] } diff --git a/package-lock.json b/package-lock.json index ebb1eaea2..d42436a3d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18405,14 +18405,14 @@ }, "packages/cli": { "name": "@smartthings/cli", - "version": "1.0.0-beta.8", + "version": "1.0.0-beta.9", "license": "Apache-2.0", "dependencies": { "@oclif/core": "^1.9.0", "@oclif/plugin-autocomplete": "^1.3.0", "@oclif/plugin-not-found": "^2.3.1", "@oclif/plugin-plugins": "^2.1.0", - "@smartthings/cli-lib": "^1.0.0-beta.8", + "@smartthings/cli-lib": "^1.0.0-beta.10", "@smartthings/core-sdk": "^5.0.0", "@smartthings/plugin-cli-edge": "^1.14.1", "aws-sdk": "^2.1144.0", @@ -18424,7 +18424,7 @@ "smartthings": "bin/run" }, "devDependencies": { - "@smartthings/cli-testlib": "^1.0.0-beta.4", + "@smartthings/cli-testlib": "^1.0.0-beta.6", "@types/inquirer": "^8.2.1", "@types/jest": "^28.1.3", "@types/js-yaml": "^4.0.5", @@ -18451,7 +18451,7 @@ }, "packages/lib": { "name": "@smartthings/cli-lib", - "version": "1.0.0-beta.9", + "version": "1.0.0-beta.10", "license": "Apache-2.0", "dependencies": { "@log4js-node/log4js-api": "^1.0.2", @@ -18503,10 +18503,10 @@ }, "packages/testlib": { "name": "@smartthings/cli-testlib", - "version": "1.0.0-beta.5", + "version": "1.0.0-beta.6", "license": "Apache-2.0", "dependencies": { - "@smartthings/cli-lib": "^1.0.0-beta.9", + "@smartthings/cli-lib": "^1.0.0-beta.10", "@smartthings/core-sdk": "^5.0.0" }, "devDependencies": { @@ -21515,8 +21515,8 @@ "@oclif/plugin-autocomplete": "^1.3.0", "@oclif/plugin-not-found": "^2.3.1", "@oclif/plugin-plugins": "^2.1.0", - "@smartthings/cli-lib": "^1.0.0-beta.8", - "@smartthings/cli-testlib": "^1.0.0-beta.4", + "@smartthings/cli-lib": "^1.0.0-beta.10", + "@smartthings/cli-testlib": "^1.0.0-beta.6", "@smartthings/core-sdk": "^5.0.0", "@smartthings/plugin-cli-edge": "^1.14.1", "@types/inquirer": "^8.2.1", @@ -21590,7 +21590,7 @@ "@smartthings/cli-testlib": { "version": "file:packages/testlib", "requires": { - "@smartthings/cli-lib": "^1.0.0-beta.9", + "@smartthings/cli-lib": "^1.0.0-beta.10", "@smartthings/core-sdk": "^5.0.0", "@types/jest": "^28.1.3", "@types/js-yaml": "^4.0.5", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 9d6dd8b82..373cdc903 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,18 @@ # Change Log +## 1.0.0-beta.9 + +### Patch Changes + +- [#339](https://github.com/SmartThingsCommunity/smartthings-cli/pull/339) [`0849c4e`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/0849c4e36f81816cce8c6204c339424a8211c556) Thanks [@rossiam](https://github.com/rossiam)! - Update table output: - switch to table package which handles international characters properly - removed compact / expanded command line options - removed compactTableOutput configuration option - added group-rows and no-group-rows command line options - added groupTableOutputRows configuration option - (lib) completely isolated use of dependency to table-generator.ts + +* [#327](https://github.com/SmartThingsCommunity/smartthings-cli/pull/327) [`82652c9`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/82652c9a2fc144ee253e256718f034b47aeca7fc) Thanks [@bflorian](https://github.com/bflorian)! - Added commands to create virtual devices and generate events on their behalf + +- [#335](https://github.com/SmartThingsCommunity/smartthings-cli/pull/335) [`975c037`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/975c037c7983a1073eb6bf9f133e0f99599342df) Thanks [@john-u](https://github.com/john-u)! - update @smartthings/core-sdk to 5.0.0 + +- Updated dependencies [[`0849c4e`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/0849c4e36f81816cce8c6204c339424a8211c556), [`82652c9`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/82652c9a2fc144ee253e256718f034b47aeca7fc), [`975c037`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/975c037c7983a1073eb6bf9f133e0f99599342df)]: + - @smartthings/cli-lib@1.0.0-beta.10 + ## 1.0.0-beta.8 ### Patch Changes diff --git a/packages/cli/README.md b/packages/cli/README.md index 349fdd8c9..8924b0036 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -239,6 +239,8 @@ that map to the API spec. * [`smartthings rules:delete [ID]`](#smartthings-rulesdelete-id) * [`smartthings rules:execute [ID]`](#smartthings-rulesexecute-id) * [`smartthings rules:update [ID]`](#smartthings-rulesupdate-id) +* [`smartthings scenes [IDORINDEX]`](#smartthings-scenes-idorindex) +* [`smartthings scenes:execute [ID]`](#smartthings-scenesexecute-id) * [`smartthings schema [ID]`](#smartthings-schema-id) * [`smartthings schema:authorize ARN`](#smartthings-schemaauthorize-arn) * [`smartthings schema:create`](#smartthings-schemacreate) @@ -281,7 +283,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.8/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.9/packages/cli/src/commands/apps.ts)_ ## `smartthings apps:authorize ARN` @@ -323,7 +325,7 @@ EXAMPLES 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.8/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.9/packages/cli/src/commands/apps/authorize.ts)_ ## `smartthings apps:create` @@ -352,7 +354,7 @@ DESCRIPTION create an app ``` -_See code: [src/commands/apps/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.8/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.9/packages/cli/src/commands/apps/create.ts)_ ## `smartthings apps:delete [ID]` @@ -375,7 +377,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.8/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.9/packages/cli/src/commands/apps/delete.ts)_ ## `smartthings apps:oauth [ID]` @@ -401,7 +403,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.8/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.9/packages/cli/src/commands/apps/oauth.ts)_ ## `smartthings apps:oauth:generate [ID]` @@ -430,7 +432,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.8/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.9/packages/cli/src/commands/apps/oauth/generate.ts)_ ## `smartthings apps:oauth:update [ID]` @@ -459,7 +461,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.8/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.9/packages/cli/src/commands/apps/oauth/update.ts)_ ## `smartthings apps:register [ID]` @@ -482,7 +484,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.8/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.9/packages/cli/src/commands/apps/register.ts)_ ## `smartthings apps:settings [ID]` @@ -508,7 +510,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.8/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.9/packages/cli/src/commands/apps/settings.ts)_ ## `smartthings apps:settings:update [ID]` @@ -537,7 +539,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.8/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.9/packages/cli/src/commands/apps/settings/update.ts)_ ## `smartthings apps:update [ID]` @@ -569,7 +571,7 @@ 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.8/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.9/packages/cli/src/commands/apps/update.ts)_ ## `smartthings autocomplete [SHELL]` @@ -630,7 +632,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.8/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.9/packages/cli/src/commands/capabilities.ts)_ ## `smartthings capabilities:create` @@ -658,7 +660,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.8/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.9/packages/cli/src/commands/capabilities/create.ts)_ ## `smartthings capabilities:delete [ID] [VERSION]` @@ -683,7 +685,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.8/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.9/packages/cli/src/commands/capabilities/delete.ts)_ ## `smartthings capabilities:namespaces` @@ -708,7 +710,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.8/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.9/packages/cli/src/commands/capabilities/namespaces.ts)_ ## `smartthings capabilities:presentation [ID] [VERSION]` @@ -738,7 +740,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.8/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.9/packages/cli/src/commands/capabilities/presentation.ts)_ ## `smartthings capabilities:presentation:create [ID] [VERSION]` @@ -769,7 +771,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.8/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.9/packages/cli/src/commands/capabilities/presentation/create.ts)_ ## `smartthings capabilities:presentation:update [ID] [VERSION]` @@ -800,7 +802,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.8/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.9/packages/cli/src/commands/capabilities/presentation/update.ts)_ ## `smartthings capabilities:translations [ID] [VERSION] [TAG]` @@ -959,7 +961,7 @@ EXAMPLES └──────────────────────────────────────┴───────────────────────┴──────────────────────────────────────────────────┘ ``` -_See code: [src/commands/capabilities/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.8/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.9/packages/cli/src/commands/capabilities/translations.ts)_ ## `smartthings capabilities:translations:create [ID] [VERSION]` @@ -1083,7 +1085,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.8/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.9/packages/cli/src/commands/capabilities/translations/create.ts)_ ## `smartthings capabilities:translations:update [ID] [VERSION]` @@ -1207,7 +1209,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.8/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.9/packages/cli/src/commands/capabilities/translations/update.ts)_ ## `smartthings capabilities:translations:upsert [ID] [VERSION]` @@ -1331,7 +1333,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.8/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.9/packages/cli/src/commands/capabilities/translations/upsert.ts)_ ## `smartthings capabilities:update [ID] [VERSION]` @@ -1362,7 +1364,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.8/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.9/packages/cli/src/commands/capabilities/update.ts)_ ## `smartthings config [NAME]` @@ -1387,7 +1389,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.8/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.9/packages/cli/src/commands/config.ts)_ ## `smartthings config:reset` @@ -1408,7 +1410,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.8/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.9/packages/cli/src/commands/config/reset.ts)_ ## `smartthings device-preferences [IDORINDEX]` @@ -2309,7 +2311,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.8/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.9/packages/cli/src/commands/devicepreferences.ts)_ ## `smartthings devicepreferences:create` @@ -2356,7 +2358,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.8/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.9/packages/cli/src/commands/devicepreferences/create.ts)_ ## `smartthings devicepreferences:translations [PREFERENCEID] [TAG]` @@ -2398,7 +2400,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.8/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.9/packages/cli/src/commands/devicepreferences/translations.ts)_ ## `smartthings devicepreferences:translations:create [PREFERENCEID]` @@ -2431,7 +2433,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.8/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.9/packages/cli/src/commands/devicepreferences/translations/create.ts)_ ## `smartthings devicepreferences:translations:update [PREFERENCEID]` @@ -2464,7 +2466,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.8/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.9/packages/cli/src/commands/devicepreferences/translations/update.ts)_ ## `smartthings devicepreferences:update [ID]` @@ -2502,7 +2504,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.8/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.9/packages/cli/src/commands/devicepreferences/update.ts)_ ## `smartthings deviceprofiles [ID]` @@ -2548,7 +2550,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.8/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.9/packages/cli/src/commands/deviceprofiles.ts)_ ## `smartthings deviceprofiles:create` @@ -2591,7 +2593,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.8/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.9/packages/cli/src/commands/deviceprofiles/create.ts)_ ## `smartthings deviceprofiles:delete [ID]` @@ -2623,7 +2625,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.8/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.9/packages/cli/src/commands/deviceprofiles/delete.ts)_ ## `smartthings deviceprofiles:device-config [ID]` @@ -2654,7 +2656,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.8/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.9/packages/cli/src/commands/deviceprofiles/device-config.ts)_ ## `smartthings deviceprofiles:presentation [ID]` @@ -2702,7 +2704,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.8/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.9/packages/cli/src/commands/deviceprofiles/presentation.ts)_ ## `smartthings deviceprofiles:publish [ID]` @@ -2733,7 +2735,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.8/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.9/packages/cli/src/commands/deviceprofiles/publish.ts)_ ## `smartthings deviceprofiles:translations [ID] [TAG]` @@ -2867,7 +2869,7 @@ EXAMPLES └───────────┴────────────┴───────────────────────────────┘ ``` -_See code: [src/commands/deviceprofiles/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.8/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.9/packages/cli/src/commands/deviceprofiles/translations.ts)_ ## `smartthings deviceprofiles:translations:delete [ID] [TAG]` @@ -2935,7 +2937,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.8/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.9/packages/cli/src/commands/deviceprofiles/translations/delete.ts)_ ## `smartthings deviceprofiles:translations:upsert [ID]` @@ -3033,7 +3035,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.8/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.9/packages/cli/src/commands/deviceprofiles/translations/upsert.ts)_ ## `smartthings deviceprofiles:update [ID]` @@ -3066,7 +3068,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.8/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.9/packages/cli/src/commands/deviceprofiles/update.ts)_ ## `smartthings deviceprofiles:view [ID]` @@ -3097,7 +3099,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.8/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.9/packages/cli/src/commands/deviceprofiles/view.ts)_ ## `smartthings deviceprofiles:view:create` @@ -3174,7 +3176,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.8/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.9/packages/cli/src/commands/deviceprofiles/view/create.ts)_ ## `smartthings deviceprofiles:view:update [ID]` @@ -3260,7 +3262,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.8/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.9/packages/cli/src/commands/deviceprofiles/view/update.ts)_ ## `smartthings devices [ID]` @@ -3299,7 +3301,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.8/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.9/packages/cli/src/commands/devices.ts)_ ## `smartthings devices:capability-status [ID] [COMPONENT] [CAPABILITY]` @@ -3328,7 +3330,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.8/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.9/packages/cli/src/commands/devices/capability-status.ts)_ ## `smartthings devices:commands [ID] [COMMAND]` @@ -3365,7 +3367,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.8/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.9/packages/cli/src/commands/devices/commands.ts)_ ## `smartthings devices:component-status [ID] [COMPONENT]` @@ -3393,7 +3395,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.8/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.9/packages/cli/src/commands/devices/component-status.ts)_ ## `smartthings devices:delete [ID]` @@ -3416,7 +3418,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.8/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.9/packages/cli/src/commands/devices/delete.ts)_ ## `smartthings devices:health [ID]` @@ -3442,7 +3444,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.8/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.9/packages/cli/src/commands/devices/health.ts)_ ## `smartthings devices:preferences [ID]` @@ -3468,7 +3470,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.8/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.9/packages/cli/src/commands/devices/preferences.ts)_ ## `smartthings devices:presentation [ID]` @@ -3494,7 +3496,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.8/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.9/packages/cli/src/commands/devices/presentation.ts)_ ## `smartthings devices:rename [ID] [LABEL]` @@ -3522,7 +3524,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.8/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.9/packages/cli/src/commands/devices/rename.ts)_ ## `smartthings devices:status [ID]` @@ -3548,7 +3550,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.8/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.9/packages/cli/src/commands/devices/status.ts)_ ## `smartthings devices:update [ID]` @@ -3577,7 +3579,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.8/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.9/packages/cli/src/commands/devices/update.ts)_ ## `smartthings edge:channels [IDORINDEX]` @@ -4650,7 +4652,7 @@ 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.8/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.9/packages/cli/src/commands/installedapps.ts)_ ## `smartthings installedapps:delete [ID]` @@ -4675,7 +4677,7 @@ 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.8/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.9/packages/cli/src/commands/installedapps/delete.ts)_ ## `smartthings installedapps:rename [ID] [NAME]` @@ -4705,7 +4707,7 @@ 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.8/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.9/packages/cli/src/commands/installedapps/rename.ts)_ ## `smartthings installedschema [ID]` @@ -4734,7 +4736,7 @@ 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.8/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.9/packages/cli/src/commands/installedschema.ts)_ ## `smartthings installedschema:delete [ID]` @@ -4759,7 +4761,7 @@ 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.8/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.9/packages/cli/src/commands/installedschema/delete.ts)_ ## `smartthings locations [IDORINDEX]` @@ -4785,7 +4787,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.8/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.9/packages/cli/src/commands/locations.ts)_ ## `smartthings locations:create` @@ -4811,7 +4813,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.8/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.9/packages/cli/src/commands/locations/create.ts)_ ## `smartthings locations:delete [ID]` @@ -4839,7 +4841,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.8/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.9/packages/cli/src/commands/locations/delete.ts)_ ## `smartthings locations:rooms [IDORINDEX]` @@ -4870,7 +4872,7 @@ ALIASES $ smartthings rooms ``` -_See code: [src/commands/locations/rooms.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.8/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.9/packages/cli/src/commands/locations/rooms.ts)_ ## `smartthings locations:rooms:create` @@ -4900,7 +4902,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.8/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.9/packages/cli/src/commands/locations/rooms/create.ts)_ ## `smartthings locations:rooms:delete [ID]` @@ -4927,7 +4929,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.8/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.9/packages/cli/src/commands/locations/rooms/delete.ts)_ ## `smartthings locations:rooms:update [ID]` @@ -4960,7 +4962,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.8/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.9/packages/cli/src/commands/locations/rooms/update.ts)_ ## `smartthings locations:update [ID]` @@ -4989,7 +4991,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.8/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.9/packages/cli/src/commands/locations/update.ts)_ ## `smartthings logout` @@ -5004,7 +5006,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.8/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.9/packages/cli/src/commands/logout.ts)_ ## `smartthings organizations [ID]` @@ -5030,7 +5032,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.8/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.9/packages/cli/src/commands/organizations.ts)_ ## `smartthings organizations:current` @@ -5055,7 +5057,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.8/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.9/packages/cli/src/commands/organizations/current.ts)_ ## `smartthings plugins` @@ -5342,7 +5344,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.8/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.9/packages/cli/src/commands/presentation.ts)_ ## `smartthings presentation:device-config PRESENTATIONID [MANUFACTURERNAME]` @@ -5370,7 +5372,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.8/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.9/packages/cli/src/commands/presentation/device-config.ts)_ ## `smartthings presentation:device-config:create` @@ -5396,7 +5398,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.8/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.9/packages/cli/src/commands/presentation/device-config/create.ts)_ ## `smartthings presentation:device-config:generate ID` @@ -5426,7 +5428,7 @@ 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.8/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.9/packages/cli/src/commands/presentation/device-config/generate.ts)_ ## `smartthings rooms [IDORINDEX]` @@ -5567,7 +5569,7 @@ DESCRIPTION get a specific rule ``` -_See code: [src/commands/rules.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.8/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.9/packages/cli/src/commands/rules.ts)_ ## `smartthings rules:create` @@ -5594,7 +5596,7 @@ DESCRIPTION create a rule ``` -_See code: [src/commands/rules/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.8/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.9/packages/cli/src/commands/rules/create.ts)_ ## `smartthings rules:delete [ID]` @@ -5618,7 +5620,7 @@ DESCRIPTION delete a rule ``` -_See code: [src/commands/rules/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.8/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.9/packages/cli/src/commands/rules/delete.ts)_ ## `smartthings rules:execute [ID]` @@ -5657,7 +5659,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.8/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.9/packages/cli/src/commands/rules/execute.ts)_ ## `smartthings rules:update [ID]` @@ -5687,7 +5689,72 @@ DESCRIPTION update a rule ``` -_See code: [src/commands/rules/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.8/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.9/packages/cli/src/commands/rules/update.ts)_ + +## `smartthings scenes [IDORINDEX]` + +list scenes or get information for a specific scene + +``` +USAGE + $ smartthings scenes [IDORINDEX] [-h] [-p ] [-t ] [--language ] [-j] [-y] [-o + ] [-l ] + +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 + +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.9/packages/cli/src/commands/scenes.ts)_ + +## `smartthings scenes:execute [ID]` + +execute a scene + +``` +USAGE + $ smartthings scenes:execute [ID] [-h] [-p ] [-t ] [--language ] [-j] [-y] [-o ] + +ARGUMENTS + ID scene UUID + +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 + --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale + +DESCRIPTION + execute a scene + +EXAMPLES + # prompt for a scene to execute and then execute it + + $ smartthings scenes:execute + + + + # execute the scene with the specified id + + $ 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.9/packages/cli/src/commands/scenes/execute.ts)_ ## `smartthings schema [ID]` @@ -5714,7 +5781,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.8/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.9/packages/cli/src/commands/schema.ts)_ ## `smartthings schema:authorize ARN` @@ -5756,7 +5823,7 @@ EXAMPLES 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.8/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.9/packages/cli/src/commands/schema/authorize.ts)_ ## `smartthings schema:create` @@ -5785,7 +5852,7 @@ 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.8/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.9/packages/cli/src/commands/schema/create.ts)_ ## `smartthings schema:delete [ID]` @@ -5808,7 +5875,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.8/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.9/packages/cli/src/commands/schema/delete.ts)_ ## `smartthings schema:regenerate [ID]` @@ -5835,7 +5902,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.8/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.9/packages/cli/src/commands/schema/regenerate.ts)_ ## `smartthings schema:update [ID]` @@ -5865,7 +5932,7 @@ 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.8/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.9/packages/cli/src/commands/schema/update.ts)_ ## `smartthings virtualdevices [ID]` @@ -5895,7 +5962,7 @@ 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.8/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.9/packages/cli/src/commands/virtualdevices.ts)_ ## `smartthings virtualdevices:create` @@ -5946,7 +6013,7 @@ EXAMPLES $ 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.8/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.9/packages/cli/src/commands/virtualdevices/create.ts)_ ## `smartthings virtualdevices:create-standard` @@ -5993,7 +6060,7 @@ EXAMPLES > --room-id=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.8/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.9/packages/cli/src/commands/virtualdevices/create-standard.ts)_ ## `smartthings virtualdevices:delete [ID]` @@ -6016,7 +6083,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.8/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.9/packages/cli/src/commands/virtualdevices/delete.ts)_ ## `smartthings virtualdevices:events [ID] [NAME] [VALUE] [UNIT]` @@ -6060,7 +6127,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.8/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.9/packages/cli/src/commands/virtualdevices/events.ts)_ ## `smartthings virtualdevices:update [ID]` @@ -6089,7 +6156,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.8/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.9/packages/cli/src/commands/virtualdevices/update.ts)_ # Configuration and Logging diff --git a/packages/cli/package.json b/packages/cli/package.json index f19445ca7..163807d4d 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@smartthings/cli", - "version": "1.0.0-beta.8", + "version": "1.0.0-beta.9", "description": "SmartThings unified CLI", "author": "SmartThings, Inc.", "bin": { @@ -71,7 +71,7 @@ "@oclif/plugin-autocomplete": "^1.3.0", "@oclif/plugin-not-found": "^2.3.1", "@oclif/plugin-plugins": "^2.1.0", - "@smartthings/cli-lib": "^1.0.0-beta.8", + "@smartthings/cli-lib": "^1.0.0-beta.10", "@smartthings/core-sdk": "^5.0.0", "@smartthings/plugin-cli-edge": "^1.14.1", "aws-sdk": "^2.1144.0", @@ -80,7 +80,7 @@ "log4js": "6.3.0" }, "devDependencies": { - "@smartthings/cli-testlib": "^1.0.0-beta.4", + "@smartthings/cli-testlib": "^1.0.0-beta.6", "@types/inquirer": "^8.2.1", "@types/jest": "^28.1.3", "@types/js-yaml": "^4.0.5", diff --git a/packages/lib/CHANGELOG.md b/packages/lib/CHANGELOG.md index b1fe95ac1..4945eddce 100644 --- a/packages/lib/CHANGELOG.md +++ b/packages/lib/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## 1.0.0-beta.10 + +### Patch Changes + +- [#339](https://github.com/SmartThingsCommunity/smartthings-cli/pull/339) [`0849c4e`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/0849c4e36f81816cce8c6204c339424a8211c556) Thanks [@rossiam](https://github.com/rossiam)! - Update table output: - switch to table package which handles international characters properly - removed compact / expanded command line options - removed compactTableOutput configuration option - added group-rows and no-group-rows command line options - added groupTableOutputRows configuration option - (lib) completely isolated use of dependency to table-generator.ts + +* [#327](https://github.com/SmartThingsCommunity/smartthings-cli/pull/327) [`82652c9`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/82652c9a2fc144ee253e256718f034b47aeca7fc) Thanks [@bflorian](https://github.com/bflorian)! - Added commands to create virtual devices and generate events on their behalf + +- [#335](https://github.com/SmartThingsCommunity/smartthings-cli/pull/335) [`975c037`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/975c037c7983a1073eb6bf9f133e0f99599342df) Thanks [@john-u](https://github.com/john-u)! - update @smartthings/core-sdk to 5.0.0 + ## 1.0.0-beta.9 ### Patch Changes diff --git a/packages/lib/package.json b/packages/lib/package.json index b8ef6fa7a..f802ddc55 100644 --- a/packages/lib/package.json +++ b/packages/lib/package.json @@ -1,6 +1,6 @@ { "name": "@smartthings/cli-lib", - "version": "1.0.0-beta.9", + "version": "1.0.0-beta.10", "description": "SmartThings unified CLI utility library", "author": "SmartThings, Inc.", "bugs": { diff --git a/packages/testlib/CHANGELOG.md b/packages/testlib/CHANGELOG.md index 6403a4ce1..3dee17c82 100644 --- a/packages/testlib/CHANGELOG.md +++ b/packages/testlib/CHANGELOG.md @@ -1,5 +1,18 @@ # Change Log +## 1.0.0-beta.6 + +### Patch Changes + +- [#331](https://github.com/SmartThingsCommunity/smartthings-cli/pull/331) [`8b0a5b8`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/8b0a5b8523c8bcc8a622359a501b064b813dca4c) Thanks [@john-u](https://github.com/john-u)! - mock withLocations by default + +* [#325](https://github.com/SmartThingsCommunity/smartthings-cli/pull/325) [`0681344`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/068134443d8a960b6565b2111b2a81b076b33bd7) Thanks [@john-u](https://github.com/john-u)! - mock inputItem by default + +- [#335](https://github.com/SmartThingsCommunity/smartthings-cli/pull/335) [`975c037`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/975c037c7983a1073eb6bf9f133e0f99599342df) Thanks [@john-u](https://github.com/john-u)! - update @smartthings/core-sdk to 5.0.0 + +- Updated dependencies [[`0849c4e`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/0849c4e36f81816cce8c6204c339424a8211c556), [`82652c9`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/82652c9a2fc144ee253e256718f034b47aeca7fc), [`975c037`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/975c037c7983a1073eb6bf9f133e0f99599342df)]: + - @smartthings/cli-lib@1.0.0-beta.10 + ## 1.0.0-beta.5 ### Patch Changes diff --git a/packages/testlib/package.json b/packages/testlib/package.json index e51143437..352023070 100644 --- a/packages/testlib/package.json +++ b/packages/testlib/package.json @@ -1,6 +1,6 @@ { "name": "@smartthings/cli-testlib", - "version": "1.0.0-beta.5", + "version": "1.0.0-beta.6", "description": "SmartThings unified CLI testing utility methods library", "author": "SmartThings, Inc.", "bugs": { @@ -28,7 +28,7 @@ "directory": "packages/testlib" }, "dependencies": { - "@smartthings/cli-lib": "^1.0.0-beta.9", + "@smartthings/cli-lib": "^1.0.0-beta.10", "@smartthings/core-sdk": "^5.0.0" }, "devDependencies": {