From 32ac1fe9774adf53c5b3939e94fc1569d36e5552 Mon Sep 17 00:00:00 2001 From: John Undersander Date: Mon, 4 Oct 2021 12:05:56 -0500 Subject: [PATCH] fix(README): fix code links - fix #200 - bump `plugin-cli-edge` to 1.4.2 --- .gitignore | 3 + package-lock.json | 6 +- packages/cli/README.md | 204 ++++++++++++++++++------------------- packages/cli/package.json | 16 +-- packages/cli/tsconfig.json | 4 +- 5 files changed, 118 insertions(+), 115 deletions(-) diff --git a/.gitignore b/.gitignore index 1804eb7ce..a363f6888 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,6 @@ scratch_pad.txt packages/*/smartthings-cli-*.tgz coverage smartthings-*.zip + +# the Typescript outDir that oclif prefers +packages/cli/lib diff --git a/package-lock.json b/package-lock.json index 95e68981e..645e6a86f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3600,9 +3600,9 @@ } }, "@smartthings/plugin-cli-edge": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@smartthings/plugin-cli-edge/-/plugin-cli-edge-1.4.0.tgz", - "integrity": "sha512-Zmoyt011UGJTlJuqnIF8BVljzmvsBbuR4n8wbuRvo//HIx24fLjV7gkqIJwY5tS0R6EL05ZYTSBXXGeqW2GTQw==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@smartthings/plugin-cli-edge/-/plugin-cli-edge-1.4.2.tgz", + "integrity": "sha512-FbNA4o3xc777V0+kmSmQX4h9XIUpLRbP8vW9gZGk7vkZYZZkxo653NoTJpaztvuRQudux7CQJJvSb9BmmhtV6A==", "requires": { "@oclif/command": "^1.8.0", "@oclif/config": "^1.17.0", diff --git a/packages/cli/README.md b/packages/cli/README.md index 9c033ba77..12fc30b64 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -255,7 +255,7 @@ OPTIONS --type=type filter results by appType, WEBHOOK_SMART_APP, LAMBDA_SMART_APP, API_ONLY ``` -_See code: [dist/commands/apps.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/apps.ts)_ +_See code: [src/commands/apps.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/apps.ts)_ ## `smartthings apps:authorize ARN` @@ -286,7 +286,7 @@ EXAMPLES It requires your machine to be configured to run the AWS CLI ``` -_See code: [dist/commands/apps/authorize.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/apps/authorize.ts)_ +_See code: [src/commands/apps/authorize.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/apps/authorize.ts)_ ## `smartthings apps:create` @@ -314,7 +314,7 @@ OPTIONS --statement-id=statement-id use this statement id instead of the default when authorizing lambda functions ``` -_See code: [dist/commands/apps/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/apps/create.ts)_ +_See code: [src/commands/apps/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/apps/create.ts)_ ## `smartthings apps:delete [ID]` @@ -334,7 +334,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/apps/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/apps/delete.ts)_ +_See code: [src/commands/apps/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/apps/delete.ts)_ ## `smartthings apps:oauth [ID]` @@ -360,7 +360,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/apps/oauth.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/apps/oauth.ts)_ +_See code: [src/commands/apps/oauth.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/apps/oauth.ts)_ ## `smartthings apps:oauth:generate [ID]` @@ -388,7 +388,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/apps/oauth/generate.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/apps/oauth/generate.ts)_ +_See code: [src/commands/apps/oauth/generate.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/apps/oauth/generate.ts)_ ## `smartthings apps:oauth:update [ID]` @@ -416,7 +416,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/apps/oauth/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/apps/oauth/update.ts)_ +_See code: [src/commands/apps/oauth/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/apps/oauth/update.ts)_ ## `smartthings apps:register [ID]` @@ -436,7 +436,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/apps/register.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/apps/register.ts)_ +_See code: [src/commands/apps/register.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/apps/register.ts)_ ## `smartthings apps:settings [ID]` @@ -462,7 +462,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/apps/settings.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/apps/settings.ts)_ +_See code: [src/commands/apps/settings.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/apps/settings.ts)_ ## `smartthings apps:settings:update [ID]` @@ -490,7 +490,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/apps/settings/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/apps/settings/update.ts)_ +_See code: [src/commands/apps/settings/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/apps/settings/update.ts)_ ## `smartthings apps:update [ID]` @@ -521,7 +521,7 @@ OPTIONS --statement-id=statement-id use this statement id instead of the default when authorizing lambda functions ``` -_See code: [dist/commands/apps/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/apps/update.ts)_ +_See code: [src/commands/apps/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/apps/update.ts)_ ## `smartthings autocomplete [SHELL]` @@ -573,7 +573,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/capabilities.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/capabilities.ts)_ +_See code: [src/commands/capabilities.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/capabilities.ts)_ ## `smartthings capabilities:create` @@ -599,7 +599,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/capabilities/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/capabilities/create.ts)_ +_See code: [src/commands/capabilities/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/capabilities/create.ts)_ ## `smartthings capabilities:delete [ID] [VERSION]` @@ -620,7 +620,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/capabilities/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/capabilities/delete.ts)_ +_See code: [src/commands/capabilities/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/capabilities/delete.ts)_ ## `smartthings capabilities:namespaces` @@ -643,7 +643,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/capabilities/namespaces.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/capabilities/namespaces.ts)_ +_See code: [src/commands/capabilities/namespaces.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/capabilities/namespaces.ts)_ ## `smartthings capabilities:presentation [ID] [VERSION]` @@ -671,7 +671,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/capabilities/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/capabilities/presentation.ts)_ +_See code: [src/commands/capabilities/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/capabilities/presentation.ts)_ ## `smartthings capabilities:presentation:create [ID] [VERSION]` @@ -700,7 +700,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/capabilities/presentation/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/capabilities/presentation/create.ts)_ +_See code: [src/commands/capabilities/presentation/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/capabilities/presentation/create.ts)_ ## `smartthings capabilities:presentation:update [ID] [VERSION]` @@ -729,7 +729,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/capabilities/presentation/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/capabilities/presentation/update.ts)_ +_See code: [src/commands/capabilities/presentation/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/capabilities/presentation/update.ts)_ ## `smartthings capabilities:translations [ID] [VERSION] [TAG]` @@ -831,7 +831,7 @@ EXAMPLES └──────────────────────────────────────┴───────────────────────┴──────────────────────────────────────────────────┘ ``` -_See code: [dist/commands/capabilities/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/capabilities/translations.ts)_ +_See code: [src/commands/capabilities/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/capabilities/translations.ts)_ ## `smartthings capabilities:translations:create [ID] [VERSION]` @@ -908,7 +908,7 @@ EXAMPLES label: Output Modulation ``` -_See code: [dist/commands/capabilities/translations/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/capabilities/translations/create.ts)_ +_See code: [src/commands/capabilities/translations/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/capabilities/translations/create.ts)_ ## `smartthings capabilities:translations:update [ID] [VERSION]` @@ -985,7 +985,7 @@ EXAMPLES label: Output Modulation ``` -_See code: [dist/commands/capabilities/translations/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/capabilities/translations/update.ts)_ +_See code: [src/commands/capabilities/translations/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/capabilities/translations/update.ts)_ ## `smartthings capabilities:translations:upsert [ID] [VERSION]` @@ -1062,7 +1062,7 @@ EXAMPLES label: Output Modulation ``` -_See code: [dist/commands/capabilities/translations/upsert.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/capabilities/translations/upsert.ts)_ +_See code: [src/commands/capabilities/translations/upsert.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/capabilities/translations/upsert.ts)_ ## `smartthings capabilities:update [ID] [VERSION]` @@ -1091,7 +1091,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/capabilities/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/capabilities/update.ts)_ +_See code: [src/commands/capabilities/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/capabilities/update.ts)_ ## `smartthings config [NAME]` @@ -1116,7 +1116,7 @@ OPTIONS --indent=indent specify indentation for formatting JSON or YAML output ``` -_See code: [dist/commands/config.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/config.ts)_ +_See code: [src/commands/config.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/config.ts)_ ## `smartthings devicepreferences [IDORINDEX]` @@ -1152,7 +1152,7 @@ EXAMPLES $ smartthings devicepreferences 3 -o dp.json # write details as JSON for third preference to dp.json ``` -_See code: [dist/commands/devicepreferences.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/devicepreferences.ts)_ +_See code: [src/commands/devicepreferences.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/devicepreferences.ts)_ ## `smartthings devicepreferences:create` @@ -1190,7 +1190,7 @@ EXAMPLES dp.json and write the results to dp-saved.json ``` -_See code: [dist/commands/devicepreferences/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/devicepreferences/create.ts)_ +_See code: [src/commands/devicepreferences/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/devicepreferences/create.ts)_ ## `smartthings devicepreferences:update [ID]` @@ -1227,7 +1227,7 @@ EXAMPLES data from dp.yaml ``` -_See code: [dist/commands/devicepreferences/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/devicepreferences/update.ts)_ +_See code: [src/commands/devicepreferences/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/devicepreferences/update.ts)_ ## `smartthings deviceprofiles [ID]` @@ -1265,7 +1265,7 @@ EXAMPLES $ smartthings deviceprofiles 4 -j -o profile.json # write the profile to the file "profile.json" ``` -_See code: [dist/commands/deviceprofiles.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/deviceprofiles.ts)_ +_See code: [src/commands/deviceprofiles.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/deviceprofiles.ts)_ ## `smartthings deviceprofiles:create` @@ -1303,7 +1303,7 @@ EXAMPLES $ smartthings deviceprofiles:create # create a device profile with interactive dialog ``` -_See code: [dist/commands/deviceprofiles/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/deviceprofiles/create.ts)_ +_See code: [src/commands/deviceprofiles/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/deviceprofiles/create.ts)_ ## `smartthings deviceprofiles:delete [ID]` @@ -1330,7 +1330,7 @@ EXAMPLES $ smartthings deviceprofiles:delete 5 # delete the 5th profile in the list ``` -_See code: [dist/commands/deviceprofiles/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/deviceprofiles/delete.ts)_ +_See code: [src/commands/deviceprofiles/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/deviceprofiles/delete.ts)_ ## `smartthings deviceprofiles:device-config [ID]` @@ -1359,7 +1359,7 @@ ALIASES $ smartthings device-profiles:device-config ``` -_See code: [dist/commands/deviceprofiles/device-config.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/deviceprofiles/device-config.ts)_ +_See code: [src/commands/deviceprofiles/device-config.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/deviceprofiles/device-config.ts)_ ## `smartthings deviceprofiles:presentation [ID]` @@ -1398,7 +1398,7 @@ EXAMPLES flag then no language header is specified in the API request ``` -_See code: [dist/commands/deviceprofiles/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/deviceprofiles/presentation.ts)_ +_See code: [src/commands/deviceprofiles/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/deviceprofiles/presentation.ts)_ ## `smartthings deviceprofiles:publish [ID]` @@ -1427,7 +1427,7 @@ ALIASES $ smartthings device-profiles:publish ``` -_See code: [dist/commands/deviceprofiles/publish.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/deviceprofiles/publish.ts)_ +_See code: [src/commands/deviceprofiles/publish.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/deviceprofiles/publish.ts)_ ## `smartthings deviceprofiles:translations [ID] [TAG]` @@ -1510,7 +1510,7 @@ EXAMPLES └───────────┴────────────┴───────────────────────────────┘ ``` -_See code: [dist/commands/deviceprofiles/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/deviceprofiles/translations.ts)_ +_See code: [src/commands/deviceprofiles/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/deviceprofiles/translations.ts)_ ## `smartthings deviceprofiles:translations:delete [ID] [TAG]` @@ -1555,7 +1555,7 @@ EXAMPLES Device profile "3acbf2fc-6be2-4be0-aeb5-44759cbd66c2" translation "en" deleted ``` -_See code: [dist/commands/deviceprofiles/translations/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/deviceprofiles/translations/delete.ts)_ +_See code: [src/commands/deviceprofiles/translations/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/deviceprofiles/translations/delete.ts)_ ## `smartthings deviceprofiles:translations:upsert [ID]` @@ -1620,7 +1620,7 @@ EXAMPLES description: Switchable outlet 1 power ``` -_See code: [dist/commands/deviceprofiles/translations/upsert.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/deviceprofiles/translations/upsert.ts)_ +_See code: [src/commands/deviceprofiles/translations/upsert.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/deviceprofiles/translations/upsert.ts)_ ## `smartthings deviceprofiles:update [ID]` @@ -1651,7 +1651,7 @@ ALIASES $ smartthings device-profiles:update ``` -_See code: [dist/commands/deviceprofiles/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/deviceprofiles/update.ts)_ +_See code: [src/commands/deviceprofiles/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/deviceprofiles/update.ts)_ ## `smartthings deviceprofiles:view [ID]` @@ -1680,7 +1680,7 @@ ALIASES $ smartthings device-profiles:view ``` -_See code: [dist/commands/deviceprofiles/view.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/deviceprofiles/view.ts)_ +_See code: [src/commands/deviceprofiles/view.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/deviceprofiles/view.ts)_ ## `smartthings deviceprofiles:view:create` @@ -1735,7 +1735,7 @@ EXAMPLES - capability: switch ``` -_See code: [dist/commands/deviceprofiles/view/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/deviceprofiles/view/create.ts)_ +_See code: [src/commands/deviceprofiles/view/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/deviceprofiles/view/create.ts)_ ## `smartthings deviceprofiles:view:update [ID]` @@ -1796,7 +1796,7 @@ EXAMPLES - capability: switch ``` -_See code: [dist/commands/deviceprofiles/view/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/deviceprofiles/view/update.ts)_ +_See code: [src/commands/deviceprofiles/view/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/deviceprofiles/view/update.ts)_ ## `smartthings devices [ID]` @@ -1845,7 +1845,7 @@ OPTIONS locale ``` -_See code: [dist/commands/devices.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/devices.ts)_ +_See code: [src/commands/devices.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/devices.ts)_ ## `smartthings devices:capability-status [ID] [COMPONENT] [CAPABILITY]` @@ -1873,7 +1873,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/devices/capability-status.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/devices/capability-status.ts)_ +_See code: [src/commands/devices/capability-status.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/devices/capability-status.ts)_ ## `smartthings devices:commands [ID] [COMMAND]` @@ -1898,7 +1898,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/devices/commands.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/devices/commands.ts)_ +_See code: [src/commands/devices/commands.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/devices/commands.ts)_ ## `smartthings devices:component-status [ID] [COMPONENT]` @@ -1925,7 +1925,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/devices/component-status.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/devices/component-status.ts)_ +_See code: [src/commands/devices/component-status.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/devices/component-status.ts)_ ## `smartthings devices:delete [ID]` @@ -1945,7 +1945,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/devices/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/devices/delete.ts)_ +_See code: [src/commands/devices/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/devices/delete.ts)_ ## `smartthings devices:health [ID]` @@ -1971,7 +1971,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/devices/health.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/devices/health.ts)_ +_See code: [src/commands/devices/health.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/devices/health.ts)_ ## `smartthings devices:preferences [ID]` @@ -1997,7 +1997,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/devices/preferences.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/devices/preferences.ts)_ +_See code: [src/commands/devices/preferences.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/devices/preferences.ts)_ ## `smartthings devices:presentation [ID]` @@ -2023,7 +2023,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/devices/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/devices/presentation.ts)_ +_See code: [src/commands/devices/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/devices/presentation.ts)_ ## `smartthings devices:rename [ID] [LABEL]` @@ -2050,7 +2050,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/devices/rename.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/devices/rename.ts)_ +_See code: [src/commands/devices/rename.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/devices/rename.ts)_ ## `smartthings devices:status [ID]` @@ -2076,7 +2076,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/devices/status.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/devices/status.ts)_ +_See code: [src/commands/devices/status.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/devices/status.ts)_ ## `smartthings devices:update [ID]` @@ -2104,7 +2104,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/devices/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/devices/update.ts)_ +_See code: [src/commands/devices/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/devices/update.ts)_ ## `smartthings edge:channels [IDORINDEX]` @@ -2141,7 +2141,7 @@ EXAMPLE $ smartthings edge:channels 2 ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.0/dist/commands/edge/channels.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/channels.ts)_ ## `smartthings edge:channels:assign [DRIVERID] [VERSION]` @@ -2166,7 +2166,7 @@ ALIASES $ smartthings edge:drivers:publish ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.0/dist/commands/edge/channels/assign.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/channels/assign.ts)_ ## `smartthings edge:channels:create` @@ -2191,7 +2191,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.0/dist/commands/edge/channels/create.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/channels/create.ts)_ ## `smartthings edge:channels:delete [ID]` @@ -2211,7 +2211,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.0/dist/commands/edge/channels/delete.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/channels/delete.ts)_ ## `smartthings edge:channels:drivers [IDORINDEX]` @@ -2240,7 +2240,7 @@ ALIASES $ smartthings edge:channels:assignments ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.0/dist/commands/edge/channels/drivers.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/channels/drivers.ts)_ ## `smartthings edge:channels:enroll [HUBID]` @@ -2261,7 +2261,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.0/dist/commands/edge/channels/enroll.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/channels/enroll.ts)_ ## `smartthings edge:channels:enrollments [IDORINDEX]` @@ -2287,7 +2287,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.0/dist/commands/edge/channels/enrollments.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/channels/enrollments.ts)_ ## `smartthings edge:channels:invites [IDORINDEX]` @@ -2324,7 +2324,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.4.0/dist/commands/edge/channels/invites.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/channels/invites.ts)_ ## `smartthings edge:channels:invites:accept ID` @@ -2347,7 +2347,7 @@ ALIASES $ smartthings edge:channels:invitations:accept ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.0/dist/commands/edge/channels/invites/accept.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/channels/invites/accept.ts)_ ## `smartthings edge:channels:invites:create` @@ -2375,7 +2375,7 @@ ALIASES $ smartthings edge:channels:invitations:create ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.0/dist/commands/edge/channels/invites/create.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/channels/invites/create.ts)_ ## `smartthings edge:channels:invites:delete [ID]` @@ -2401,7 +2401,7 @@ ALIASES $ smartthings edge:channels:invites:revoke ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.0/dist/commands/edge/channels/invites/delete.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/channels/invites/delete.ts)_ ## `smartthings edge:channels:unassign [DRIVERID]` @@ -2425,7 +2425,7 @@ ALIASES $ smartthings edge:drivers:unpublish ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.0/dist/commands/edge/channels/unassign.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/channels/unassign.ts)_ ## `smartthings edge:channels:unenroll [HUBID]` @@ -2446,7 +2446,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.0/dist/commands/edge/channels/unenroll.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/channels/unenroll.ts)_ ## `smartthings edge:channels:update [ID]` @@ -2474,7 +2474,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.0/dist/commands/edge/channels/update.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/channels/update.ts)_ ## `smartthings edge:drivers [IDORINDEX]` @@ -2500,7 +2500,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.0/dist/commands/edge/drivers.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/drivers.ts)_ ## `smartthings edge:drivers:delete [ID]` @@ -2520,7 +2520,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.0/dist/commands/edge/drivers/delete.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/drivers/delete.ts)_ ## `smartthings edge:drivers:install [DRIVERID]` @@ -2549,7 +2549,7 @@ EXAMPLES enrolled hub ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.0/dist/commands/edge/drivers/install.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/drivers/install.ts)_ ## `smartthings edge:drivers:installed [IDORINDEX]` @@ -2576,7 +2576,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.0/dist/commands/edge/drivers/installed.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/drivers/installed.ts)_ ## `smartthings edge:drivers:logcat [DRIVERID]` @@ -2598,7 +2598,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.0/dist/commands/edge/drivers/logcat.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/drivers/logcat.ts)_ ## `smartthings edge:drivers:package [PROJECTDIRECTORY]` @@ -2668,7 +2668,7 @@ EXAMPLE $ smartthings edge:drivers:package -u driver.zip ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.0/dist/commands/edge/drivers/package.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/drivers/package.ts)_ ## `smartthings edge:drivers:uninstall [DRIVERID]` @@ -2689,7 +2689,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.0/dist/commands/edge/drivers/uninstall.ts)_ +_See code: [@smartthings/plugin-cli-edge](https://github.com/SmartThingsCommunity/edge-cli-plugin/blob/v1.4.2/src/commands/edge/drivers/uninstall.ts)_ ## `smartthings generate:java` @@ -2704,7 +2704,7 @@ OPTIONS -p, --profile=profile [default: default] configuration profile ``` -_See code: [dist/commands/generate/java.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/generate/java.ts)_ +_See code: [src/commands/generate/java.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/generate/java.ts)_ ## `smartthings generate:node` @@ -2719,7 +2719,7 @@ OPTIONS -p, --profile=profile [default: default] configuration profile ``` -_See code: [dist/commands/generate/node.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/generate/node.ts)_ +_See code: [src/commands/generate/node.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/generate/node.ts)_ ## `smartthings help [COMMAND]` @@ -2764,7 +2764,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/installedapps.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/installedapps.ts)_ +_See code: [src/commands/installedapps.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/installedapps.ts)_ ## `smartthings installedapps:delete [ID]` @@ -2786,7 +2786,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/installedapps/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/installedapps/delete.ts)_ +_See code: [src/commands/installedapps/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/installedapps/delete.ts)_ ## `smartthings installedapps:rename [ID] [NAME]` @@ -2815,7 +2815,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/installedapps/rename.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/installedapps/rename.ts)_ +_See code: [src/commands/installedapps/rename.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/installedapps/rename.ts)_ ## `smartthings installedschema [ID]` @@ -2843,7 +2843,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/installedschema.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/installedschema.ts)_ +_See code: [src/commands/installedschema.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/installedschema.ts)_ ## `smartthings installedschema:delete [ID]` @@ -2865,7 +2865,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/installedschema/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/installedschema/delete.ts)_ +_See code: [src/commands/installedschema/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/installedschema/delete.ts)_ ## `smartthings locations [IDORINDEX]` @@ -2891,7 +2891,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/locations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/locations.ts)_ +_See code: [src/commands/locations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/locations.ts)_ ## `smartthings locations:create` @@ -2916,7 +2916,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/locations/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/locations/create.ts)_ +_See code: [src/commands/locations/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/locations/create.ts)_ ## `smartthings locations:delete [ID]` @@ -2940,7 +2940,7 @@ EXAMPLES $ smartthings locations:delete my-location-id # delete the location with the specified id ``` -_See code: [dist/commands/locations/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/locations/delete.ts)_ +_See code: [src/commands/locations/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/locations/delete.ts)_ ## `smartthings locations:rooms [IDORINDEX]` @@ -2970,7 +2970,7 @@ ALIASES $ smartthings rooms ``` -_See code: [dist/commands/locations/rooms.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/locations/rooms.ts)_ +_See code: [src/commands/locations/rooms.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/locations/rooms.ts)_ ## `smartthings locations:rooms:create` @@ -2999,7 +2999,7 @@ ALIASES $ smartthings rooms:create ``` -_See code: [dist/commands/locations/rooms/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/locations/rooms/create.ts)_ +_See code: [src/commands/locations/rooms/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/locations/rooms/create.ts)_ ## `smartthings locations:rooms:delete [ID]` @@ -3023,7 +3023,7 @@ ALIASES $ smartthings rooms:delete ``` -_See code: [dist/commands/locations/rooms/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/locations/rooms/delete.ts)_ +_See code: [src/commands/locations/rooms/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/locations/rooms/delete.ts)_ ## `smartthings locations:rooms:update [ID]` @@ -3055,7 +3055,7 @@ ALIASES $ smartthings rooms:update ``` -_See code: [dist/commands/locations/rooms/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/locations/rooms/update.ts)_ +_See code: [src/commands/locations/rooms/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/locations/rooms/update.ts)_ ## `smartthings locations:update [ID]` @@ -3083,7 +3083,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/locations/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/locations/update.ts)_ +_See code: [src/commands/locations/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/locations/update.ts)_ ## `smartthings logout` @@ -3098,7 +3098,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/logout.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/logout.ts)_ +_See code: [src/commands/logout.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/logout.ts)_ ## `smartthings plugins` @@ -3274,7 +3274,7 @@ EXAMPLES flag then no language header is specified in the API request ``` -_See code: [dist/commands/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/presentation.ts)_ +_See code: [src/commands/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/presentation.ts)_ ## `smartthings presentation:device-config PRESENTATIONID [MANUFACTURERNAME]` @@ -3301,7 +3301,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/presentation/device-config.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/presentation/device-config.ts)_ +_See code: [src/commands/presentation/device-config.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/presentation/device-config.ts)_ ## `smartthings presentation:device-config:create` @@ -3326,7 +3326,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/presentation/device-config/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/presentation/device-config/create.ts)_ +_See code: [src/commands/presentation/device-config/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/presentation/device-config/create.ts)_ ## `smartthings presentation:device-config:generate ID` @@ -3356,7 +3356,7 @@ OPTIONS integrations ``` -_See code: [dist/commands/presentation/device-config/generate.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/presentation/device-config/generate.ts)_ +_See code: [src/commands/presentation/device-config/generate.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/presentation/device-config/generate.ts)_ ## `smartthings rules [IDORINDEX]` @@ -3383,7 +3383,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/rules.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/rules.ts)_ +_See code: [src/commands/rules.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/rules.ts)_ ## `smartthings rules:create` @@ -3409,7 +3409,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/rules/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/rules/create.ts)_ +_See code: [src/commands/rules/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/rules/create.ts)_ ## `smartthings rules:delete [ID]` @@ -3430,7 +3430,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/rules/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/rules/delete.ts)_ +_See code: [src/commands/rules/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/rules/delete.ts)_ ## `smartthings rules:update [ID]` @@ -3459,7 +3459,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/rules/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/rules/update.ts)_ +_See code: [src/commands/rules/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/rules/update.ts)_ ## `smartthings schema [ID]` @@ -3486,7 +3486,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/schema.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/schema.ts)_ +_See code: [src/commands/schema.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/schema.ts)_ ## `smartthings schema:authorize ARN` @@ -3517,7 +3517,7 @@ EXAMPLES It requires your machine to be configured to run the AWS CLI ``` -_See code: [dist/commands/schema/authorize.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/schema/authorize.ts)_ +_See code: [src/commands/schema/authorize.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/schema/authorize.ts)_ ## `smartthings schema:create` @@ -3545,7 +3545,7 @@ OPTIONS --statement-id=statement-id use this statement id instead of the default when authorizing lambda functions ``` -_See code: [dist/commands/schema/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/schema/create.ts)_ +_See code: [src/commands/schema/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/schema/create.ts)_ ## `smartthings schema:delete [ID]` @@ -3565,7 +3565,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/schema/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/schema/delete.ts)_ +_See code: [src/commands/schema/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/schema/delete.ts)_ ## `smartthings schema:regenerate [ID]` @@ -3591,7 +3591,7 @@ OPTIONS --language=language ISO language code or "NONE" to not specify a language. Defaults to the OS locale ``` -_See code: [dist/commands/schema/regenerate.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/schema/regenerate.ts)_ +_See code: [src/commands/schema/regenerate.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/schema/regenerate.ts)_ ## `smartthings schema:update [ID]` @@ -3618,7 +3618,7 @@ OPTIONS --statement-id=statement-id use this statement id instead of the default when authorizing lambda functions ``` -_See code: [dist/commands/schema/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.29/dist/commands/schema/update.ts)_ +_See code: [src/commands/schema/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0-pre.30/src/commands/schema/update.ts)_ # Configuration and Logging diff --git a/packages/cli/package.json b/packages/cli/package.json index d71d8dc2a..bedbecf56 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -9,13 +9,13 @@ "bugs": "https://github.com/SmartThingsCommunity/smartthings-cli/issues", "homepage": "https://github.com/SmartThingsCommunity/smartthings-cli", "license": "Apache-2.0", - "main": "dist/index.js", + "main": "lib/index.js", "engines": { "node": ">=12.13.1" }, "files": [ "/bin", - "/dist", + "/lib", "README.md", "/npm-shrinkwrap.json", "/oclif.manifest.json", @@ -32,7 +32,7 @@ "oclif" ], "oclif": { - "commands": "./dist/commands", + "commands": "./lib/commands", "bin": "smartthings", "plugins": [ "@smartthings/plugin-cli-edge", @@ -42,12 +42,12 @@ "@oclif/plugin-plugins" ], "hooks": { - "init": "./dist/hooks/init/init-config" + "init": "./lib/hooks/init/init-config" } }, "pkg": { "scripts": [ - "dist/**/*.js" + "lib/**/*.js" ], "assets": [ "../../node_modules/generator-smartthings", @@ -65,7 +65,7 @@ "@oclif/plugin-plugins": "^1.9.4", "@smartthings/cli-lib": "^0.0.0-pre.29", "@smartthings/core-sdk": "^1.10.0", - "@smartthings/plugin-cli-edge": "^1.4.0", + "@smartthings/plugin-cli-edge": "^1.4.2", "aws-sdk": "^2.690.0", "generator-smartthings": "^1.5.0", "inquirer": "^8.1.2", @@ -101,14 +101,14 @@ "scripts": { "lint": "eslint --ext ts src", "format": "eslint --ext ts src --fix", - "clean": "rm -rf dist && rm -f tsconfig.tsbuildinfo", + "clean": "rm -rf lib && rm -f tsconfig.tsbuildinfo", "compile": "tsc -b", "readme": "oclif-dev readme", "watch": "tsc -b -w", "build": "npm run clean && npm run compile && npm run readme", "test": "jest", "postpack": "rm -f oclif.manifest.json", - "prepack": "rm -rf dist && tsc -b && oclif-dev manifest && oclif-dev readme", + "prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme", "version": "oclif-dev readme && git add README.md", "package": "pkg package.json --out-path=dist_bin --targets=node12-linux-x64,node12-macos-x64,node12-win-x64", "test-coverage": "jest --coverage=true" diff --git a/packages/cli/tsconfig.json b/packages/cli/tsconfig.json index 0364d7ab0..520c83c85 100644 --- a/packages/cli/tsconfig.json +++ b/packages/cli/tsconfig.json @@ -1,7 +1,7 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "outDir": "./dist", + "outDir": "./lib", "rootDir": "./src", "esModuleInterop": true, }, @@ -17,6 +17,6 @@ ], "exclude": [ "node_modules", - "dist" + "lib" ] }