diff --git a/.changeset/pre.json b/.changeset/pre.json index 64e753ea4..78a05637c 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -8,7 +8,9 @@ }, "changesets": [ "fair-islands-prove", + "giant-poems-reflect", "gorgeous-paws-rush", - "nice-files-approve" + "nice-files-approve", + "thirty-badgers-compare" ] } diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 06a25d72b..b831d2237 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,502 +1,309 @@ # Change Log -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 1.0.0-beta.1 -# [1.0.0-beta.0](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.41...v1.0.0-beta.0) (2022-03-10) - -**Note:** Version bump only for package @smartthings/cli +### Patch Changes +- [#274](https://github.com/SmartThingsCommunity/smartthings-cli/pull/274) [`efc1eed`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/efc1eed852a61399342b5040c2d60561bbfb17af) Thanks [@john-u](https://github.com/john-u)! - replace usage of lodash with native ES or separate lodash modules +* [#278](https://github.com/SmartThingsCommunity/smartthings-cli/pull/278) [`b0cb399`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/b0cb3990dc07b0072d50802de95168acb4e94467) Thanks [@john-u](https://github.com/john-u)! - update oclif packages +* Updated dependencies [[`efc1eed`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/efc1eed852a61399342b5040c2d60561bbfb17af), [`b0cb399`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/b0cb3990dc07b0072d50802de95168acb4e94467)]: + - @smartthings/cli-lib@1.0.0-beta.3 +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. # [1.0.0-beta.0](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.41...v1.0.0-beta.0) (2022-03-10) **Note:** Version bump only for package @smartthings/cli +# [1.0.0-beta.0](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.41...v1.0.0-beta.0) (2022-03-10) - - +**Note:** Version bump only for package @smartthings/cli # [0.0.0-pre.41](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.40...v0.0.0-pre.41) (2022-03-07) - ### Bug Fixes -* **deps:** bump plugin-cli-edge to 1.10.1 ([14d7ad3](https://github.com/SmartThingsCommunity/smartthings-cli/commit/14d7ad324216105dac2b3ad7b15e673207a63d3d)) - - - - +- **deps:** bump plugin-cli-edge to 1.10.1 ([14d7ad3](https://github.com/SmartThingsCommunity/smartthings-cli/commit/14d7ad324216105dac2b3ad7b15e673207a63d3d)) # [0.0.0-pre.40](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.39...v0.0.0-pre.40) (2022-03-03) - ### Bug Fixes -* **devicepreferences:** make create prompts more clear ([258b9da](https://github.com/SmartThingsCommunity/smartthings-cli/commit/258b9daa9fa8d7d5cf08a3034d944732ef2bade7)) - +- **devicepreferences:** make create prompts more clear ([258b9da](https://github.com/SmartThingsCommunity/smartthings-cli/commit/258b9daa9fa8d7d5cf08a3034d944732ef2bade7)) ### Features -* include unique User-Agent in client requests ([4886cc2](https://github.com/SmartThingsCommunity/smartthings-cli/commit/4886cc28f7925972aeacabc84b306f60c3fad7c1)) - - - - +- include unique User-Agent in client requests ([4886cc2](https://github.com/SmartThingsCommunity/smartthings-cli/commit/4886cc28f7925972aeacabc84b306f60c3fad7c1)) # [0.0.0-pre.39](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.38...v0.0.0-pre.39) (2022-02-18) - ### Features -* add type filter to devices command; minor refactoring ([5ea91d7](https://github.com/SmartThingsCommunity/smartthings-cli/commit/5ea91d7825aa87383d0c2a832c4aee4f5e3a0f55)) - - - - +- add type filter to devices command; minor refactoring ([5ea91d7](https://github.com/SmartThingsCommunity/smartthings-cli/commit/5ea91d7825aa87383d0c2a832c4aee4f5e3a0f55)) # [0.0.0-pre.38](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.37...v0.0.0-pre.38) (2022-02-17) - ### Bug Fixes -* **edge:** bump plugin-cli-edge to 1.8.1 ([813c903](https://github.com/SmartThingsCommunity/smartthings-cli/commit/813c90399341590af0259c03b3f09d56e2380380)) - - - - +- **edge:** bump plugin-cli-edge to 1.8.1 ([813c903](https://github.com/SmartThingsCommunity/smartthings-cli/commit/813c90399341590af0259c03b3f09d56e2380380)) # [0.0.0-pre.37](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.36...v0.0.0-pre.37) (2022-02-11) - ### Bug Fixes -* **deps:** update dependencies ([24d0c23](https://github.com/SmartThingsCommunity/smartthings-cli/commit/24d0c23462ec3bb6c4b8fd1e57fd5d27072efe94)) - +- **deps:** update dependencies ([24d0c23](https://github.com/SmartThingsCommunity/smartthings-cli/commit/24d0c23462ec3bb6c4b8fd1e57fd5d27072efe94)) ### Features -* hide uncommon flags from help to reduce clutter ([deaebb4](https://github.com/SmartThingsCommunity/smartthings-cli/commit/deaebb4074ac3b90e1d7d8362c538a0b1be27011)) - +- hide uncommon flags from help to reduce clutter ([deaebb4](https://github.com/SmartThingsCommunity/smartthings-cli/commit/deaebb4074ac3b90e1d7d8362c538a0b1be27011)) ### Performance Improvements -* migrate to @oclif/core ([7354083](https://github.com/SmartThingsCommunity/smartthings-cli/commit/7354083c18b52ec04836455a6107d98e8cc741ba)) - - - - +- migrate to @oclif/core ([7354083](https://github.com/SmartThingsCommunity/smartthings-cli/commit/7354083c18b52ec04836455a6107d98e8cc741ba)) # [0.0.0-pre.36](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.35...v0.0.0-pre.36) (2022-01-27) - ### Features -* add rules:execute command ([e84b27f](https://github.com/SmartThingsCommunity/smartthings-cli/commit/e84b27f113d52df5da59f803938637600345291b)) -* warn when config extensions are .yml ([e21b4c9](https://github.com/SmartThingsCommunity/smartthings-cli/commit/e21b4c9c2accb6b08d9b58e346f18922e7ddab83)) - - - - +- add rules:execute command ([e84b27f](https://github.com/SmartThingsCommunity/smartthings-cli/commit/e84b27f113d52df5da59f803938637600345291b)) +- warn when config extensions are .yml ([e21b4c9](https://github.com/SmartThingsCommunity/smartthings-cli/commit/e21b4c9c2accb6b08d9b58e346f18922e7ddab83)) # [0.0.0-pre.35](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.34...v0.0.0-pre.35) (2022-01-19) - ### Bug Fixes -* update versions for oclif dependencies ([e943245](https://github.com/SmartThingsCommunity/smartthings-cli/commit/e94324526e45bba40706d0b77767f17781a42dec)) - +- update versions for oclif dependencies ([e943245](https://github.com/SmartThingsCommunity/smartthings-cli/commit/e94324526e45bba40706d0b77767f17781a42dec)) ### Features -* **devicepreferences:** expanded i18n support ([109bd38](https://github.com/SmartThingsCommunity/smartthings-cli/commit/109bd384ccfe806e159cf8d474188075ede1b0e7)) -* update standard device details output ([0867f77](https://github.com/SmartThingsCommunity/smartthings-cli/commit/0867f775ab58fe5cbd1979bb1365e4004ff9f4b7)) - - - - +- **devicepreferences:** expanded i18n support ([109bd38](https://github.com/SmartThingsCommunity/smartthings-cli/commit/109bd384ccfe806e159cf8d474188075ede1b0e7)) +- update standard device details output ([0867f77](https://github.com/SmartThingsCommunity/smartthings-cli/commit/0867f775ab58fe5cbd1979bb1365e4004ff9f4b7)) # [0.0.0-pre.34](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.33...v0.0.0-pre.34) (2021-12-23) - ### Features -* **edge:** debug logging in logcat ([dd8df46](https://github.com/SmartThingsCommunity/smartthings-cli/commit/dd8df46f396f96944852c3b5480422d828a1545c)) - - - - +- **edge:** debug logging in logcat ([dd8df46](https://github.com/SmartThingsCommunity/smartthings-cli/commit/dd8df46f396f96944852c3b5480422d828a1545c)) # [0.0.0-pre.33](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.32...v0.0.0-pre.33) (2021-12-15) - ### Features -* Added support for Organizations ([5513e21](https://github.com/SmartThingsCommunity/smartthings-cli/commit/5513e21fabf1af6a0dc72ce4d7e24896af78d4ee)) -* **devicepreferences:** initial suppport for i18n ([3319994](https://github.com/SmartThingsCommunity/smartthings-cli/commit/3319994ff3e8d4974d568327950ebfe69e61b453)) - - - - +- Added support for Organizations ([5513e21](https://github.com/SmartThingsCommunity/smartthings-cli/commit/5513e21fabf1af6a0dc72ce4d7e24896af78d4ee)) +- **devicepreferences:** initial suppport for i18n ([3319994](https://github.com/SmartThingsCommunity/smartthings-cli/commit/3319994ff3e8d4974d568327950ebfe69e61b453)) # [0.0.0-pre.32](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.31...v0.0.0-pre.32) (2021-10-25) - ### Bug Fixes -* **edge:** bump edge version to 1.4.3 ([f34ff2b](https://github.com/SmartThingsCommunity/smartthings-cli/commit/f34ff2b6538fd359076d6316e1d929da5add4d43)) -* scrub sensitive info from logging ([6b374f8](https://github.com/SmartThingsCommunity/smartthings-cli/commit/6b374f880f78f724f2dfb139f89c39c9188de7cf)) - - - - +- **edge:** bump edge version to 1.4.3 ([f34ff2b](https://github.com/SmartThingsCommunity/smartthings-cli/commit/f34ff2b6538fd359076d6316e1d929da5add4d43)) +- scrub sensitive info from logging ([6b374f8](https://github.com/SmartThingsCommunity/smartthings-cli/commit/6b374f880f78f724f2dfb139f89c39c9188de7cf)) # [0.0.0-pre.31](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.30...v0.0.0-pre.31) (2021-10-07) - ### Bug Fixes -* **README:** fix code links ([738357d](https://github.com/SmartThingsCommunity/smartthings-cli/commit/738357dfeba84ef1174790f76783f13449c381dc)), closes [#200](https://github.com/SmartThingsCommunity/smartthings-cli/issues/200) -* Don't consider lack of custom capabilities an error in list command ([514f14a](https://github.com/SmartThingsCommunity/smartthings-cli/commit/514f14ad5ba23657df71f4bc6741c3b6c6aa5f95)) - - - - +- **README:** fix code links ([738357d](https://github.com/SmartThingsCommunity/smartthings-cli/commit/738357dfeba84ef1174790f76783f13449c381dc)), closes [#200](https://github.com/SmartThingsCommunity/smartthings-cli/issues/200) +- Don't consider lack of custom capabilities an error in list command ([514f14a](https://github.com/SmartThingsCommunity/smartthings-cli/commit/514f14ad5ba23657df71f4bc6741c3b6c6aa5f95)) # [0.0.0-pre.30](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.29...v0.0.0-pre.30) (2021-09-21) - ### Features -* update edge plugin to v1.4.0 ([a096f7a](https://github.com/SmartThingsCommunity/smartthings-cli/commit/a096f7a023c4661f3d43ce5dede216d0a1957c5e)) - - - - +- update edge plugin to v1.4.0 ([a096f7a](https://github.com/SmartThingsCommunity/smartthings-cli/commit/a096f7a023c4661f3d43ce5dede216d0a1957c5e)) # [0.0.0-pre.29](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.28...v0.0.0-pre.29) (2021-09-10) - ### Features -* Added schema:regenerate to create new client IDs and secrets ([8cc9d9a](https://github.com/SmartThingsCommunity/smartthings-cli/commit/8cc9d9a3a8e6f7e7fae61985685e635a9dd8bdef)) - - - - +- Added schema:regenerate to create new client IDs and secrets ([8cc9d9a](https://github.com/SmartThingsCommunity/smartthings-cli/commit/8cc9d9a3a8e6f7e7fae61985685e635a9dd8bdef)) # [0.0.0-pre.28](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.27...v0.0.0-pre.28) (2021-08-19) - ### Bug Fixes -* bump edge plugin version to 1.0.5 ([e86e904](https://github.com/SmartThingsCommunity/smartthings-cli/commit/e86e90411fc4e160281be0bf4a3f4e2581d846a8)) - - - - +- bump edge plugin version to 1.0.5 ([e86e904](https://github.com/SmartThingsCommunity/smartthings-cli/commit/e86e90411fc4e160281be0bf4a3f4e2581d846a8)) # [0.0.0-pre.27](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.26...v0.0.0-pre.27) (2021-08-16) - ### Bug Fixes -* Added output format flags to deviceprofiles:presentation ([2b93b48](https://github.com/SmartThingsCommunity/smartthings-cli/commit/2b93b48fbe18fbaf06ca9d55a08e322c2bb65fe4)) - +- Added output format flags to deviceprofiles:presentation ([2b93b48](https://github.com/SmartThingsCommunity/smartthings-cli/commit/2b93b48fbe18fbaf06ca9d55a08e322c2bb65fe4)) ### Features -* add edge commands plugin ([354ce95](https://github.com/SmartThingsCommunity/smartthings-cli/commit/354ce953dc524af7639a11069f53c91b0295db41)) - - - - +- add edge commands plugin ([354ce95](https://github.com/SmartThingsCommunity/smartthings-cli/commit/354ce953dc524af7639a11069f53c91b0295db41)) # [0.0.0-pre.26](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.25...v0.0.0-pre.26) (2021-07-22) - ### Bug Fixes -* Default schema authorization to the correct principal ([7c8a76c](https://github.com/SmartThingsCommunity/smartthings-cli/commit/7c8a76c7bf01b712af6e60d53701ecd7ac877e56)) - +- Default schema authorization to the correct principal ([7c8a76c](https://github.com/SmartThingsCommunity/smartthings-cli/commit/7c8a76c7bf01b712af6e60d53701ecd7ac877e56)) ### Features -* add support for device preferences commands ([d4ad86d](https://github.com/SmartThingsCommunity/smartthings-cli/commit/d4ad86d92a1d7b29f7641bc3b1ab3961a510edc8)) -* Added device preferences and capability units ([1d9b1c1](https://github.com/SmartThingsCommunity/smartthings-cli/commit/1d9b1c11054243c8e69c8a6dc4d4b817631f0b1b)) - - - - +- add support for device preferences commands ([d4ad86d](https://github.com/SmartThingsCommunity/smartthings-cli/commit/d4ad86d92a1d7b29f7641bc3b1ab3961a510edc8)) +- Added device preferences and capability units ([1d9b1c1](https://github.com/SmartThingsCommunity/smartthings-cli/commit/1d9b1c11054243c8e69c8a6dc4d4b817631f0b1b)) # [0.0.0-pre.25](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.24...v0.0.0-pre.25) (2021-05-24) - ### Bug Fixes -* fixes to capability translations ([f8b7471](https://github.com/SmartThingsCommunity/smartthings-cli/commit/f8b7471127445ca6c68eaf629449c522080cd423)) - +- fixes to capability translations ([f8b7471](https://github.com/SmartThingsCommunity/smartthings-cli/commit/f8b7471127445ca6c68eaf629449c522080cd423)) ### Features -* **LoginAuthenticator:** provide generic auth method ([ae82b6a](https://github.com/SmartThingsCommunity/smartthings-cli/commit/ae82b6a7dc71e10377a20d03ec915a8fe81cdb9c)) -* add device preferences output to device profiles ([fa53f10](https://github.com/SmartThingsCommunity/smartthings-cli/commit/fa53f10eec476fc7a07f832e5e95c2f081081d80)) - - - - +- **LoginAuthenticator:** provide generic auth method ([ae82b6a](https://github.com/SmartThingsCommunity/smartthings-cli/commit/ae82b6a7dc71e10377a20d03ec915a8fe81cdb9c)) +- add device preferences output to device profiles ([fa53f10](https://github.com/SmartThingsCommunity/smartthings-cli/commit/fa53f10eec476fc7a07f832e5e95c2f081081d80)) # [0.0.0-pre.24](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.23...v0.0.0-pre.24) (2021-04-29) - ### Features -* add logout command which just removes credential for now ([942d886](https://github.com/SmartThingsCommunity/smartthings-cli/commit/942d8863fee0ad5a5f2056f98468788ba5c937c4)) - - - - +- add logout command which just removes credential for now ([942d886](https://github.com/SmartThingsCommunity/smartthings-cli/commit/942d8863fee0ad5a5f2056f98468788ba5c937c4)) # [0.0.0-pre.23](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.22...v0.0.0-pre.23) (2021-04-23) - ### Bug Fixes -* pin pkg to resolve missing commands ([03701dd](https://github.com/SmartThingsCommunity/smartthings-cli/commit/03701dd1b908e3986645ab8dab9017f768cc1cd1)) - - - - +- pin pkg to resolve missing commands ([03701dd](https://github.com/SmartThingsCommunity/smartthings-cli/commit/03701dd1b908e3986645ab8dab9017f768cc1cd1)) # [0.0.0-pre.22](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.21...v0.0.0-pre.22) (2021-04-21) **Note:** Version bump only for package @smartthings/cli - - - - # [0.0.0-pre.21](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.20...v0.0.0-pre.21) (2021-04-20) **Note:** Version bump only for package @smartthings/cli - - - - # [0.0.0-pre.20](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.19...v0.0.0-pre.20) (2021-04-12) - ### Features -* Accept manufacturerName in device config command ([2a17dc4](https://github.com/SmartThingsCommunity/smartthings-cli/commit/2a17dc4c2b2c638a85062e372e35df7bb375ece3)) - - - - +- Accept manufacturerName in device config command ([2a17dc4](https://github.com/SmartThingsCommunity/smartthings-cli/commit/2a17dc4c2b2c638a85062e372e35df7bb375ece3)) # [0.0.0-pre.19](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.18...v0.0.0-pre.19) (2021-04-06) - ### Features -* output JSON by default when not outputting to the console ([a0d91ff](https://github.com/SmartThingsCommunity/smartthings-cli/commit/a0d91ff73d40131392fb57407c90ce01806b0424)) - - - - +- output JSON by default when not outputting to the console ([a0d91ff](https://github.com/SmartThingsCommunity/smartthings-cli/commit/a0d91ff73d40131392fb57407c90ce01806b0424)) # [0.0.0-pre.18](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.17...v0.0.0-pre.18) (2021-02-01) - ### Features -* Added commands to list, show, and delete installed ST schema instances ([3158d47](https://github.com/SmartThingsCommunity/smartthings-cli/commit/3158d4715e7ec3f261af74429675f3afa97695e5)) - - - - +- Added commands to list, show, and delete installed ST schema instances ([3158d47](https://github.com/SmartThingsCommunity/smartthings-cli/commit/3158d4715e7ec3f261af74429675f3afa97695e5)) # [0.0.0-pre.17](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.16...v0.0.0-pre.17) (2021-01-25) **Note:** Version bump only for package @smartthings/cli - - - - # [0.0.0-pre.16](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.15...v0.0.0-pre.16) (2021-01-22) - ### Bug Fixes -* correct ordering of InputProcessor calls ([dd4dfd0](https://github.com/SmartThingsCommunity/smartthings-cli/commit/dd4dfd0938f6b6888ce1f0a48840d4b8b0ccdddf)) -* Corrected bug display verbose apps table ([0b35655](https://github.com/SmartThingsCommunity/smartthings-cli/commit/0b35655fe0c46aeadf57817ec4d6a21d73a300c5)) -* fix rules lookup without location id and functional refactor ([bfa67b6](https://github.com/SmartThingsCommunity/smartthings-cli/commit/bfa67b6167c32281825559c65e4f38e38ab1d863)) -* use kebab case for all flags ([128dcbb](https://github.com/SmartThingsCommunity/smartthings-cli/commit/128dcbb25e292e179b6483ce76e42a4c3eb290c2)) - +- correct ordering of InputProcessor calls ([dd4dfd0](https://github.com/SmartThingsCommunity/smartthings-cli/commit/dd4dfd0938f6b6888ce1f0a48840d4b8b0ccdddf)) +- Corrected bug display verbose apps table ([0b35655](https://github.com/SmartThingsCommunity/smartthings-cli/commit/0b35655fe0c46aeadf57817ec4d6a21d73a300c5)) +- fix rules lookup without location id and functional refactor ([bfa67b6](https://github.com/SmartThingsCommunity/smartthings-cli/commit/bfa67b6167c32281825559c65e4f38e38ab1d863)) +- use kebab case for all flags ([128dcbb](https://github.com/SmartThingsCommunity/smartthings-cli/commit/128dcbb25e292e179b6483ce76e42a4c3eb290c2)) ### Features -* Added support for specifying a language header ([00f50b9](https://github.com/SmartThingsCommunity/smartthings-cli/commit/00f50b9d8aadf0275f4e6426d68207903e639829)) - - - - +- Added support for specifying a language header ([00f50b9](https://github.com/SmartThingsCommunity/smartthings-cli/commit/00f50b9d8aadf0275f4e6426d68207903e639829)) # [0.0.0-pre.15](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.14...v0.0.0-pre.15) (2020-12-21) - ### Bug Fixes -* Added support for device presentation manufacturer name ([804eaaa](https://github.com/SmartThingsCommunity/smartthings-cli/commit/804eaaa906d965dd7e66aa98d3e66b166f90fe68)) -* remove unnecessary node dependency in lib ([27c38e3](https://github.com/SmartThingsCommunity/smartthings-cli/commit/27c38e3fddb692b7985e77a0d5147f17f929558a)) -* use InstalledApp fields in installedapps:rename and refactor to use new functional paradigm ([8170818](https://github.com/SmartThingsCommunity/smartthings-cli/commit/817081833d5d260f48a5fda1255b12ff631ca0da)) - - - - +- Added support for device presentation manufacturer name ([804eaaa](https://github.com/SmartThingsCommunity/smartthings-cli/commit/804eaaa906d965dd7e66aa98d3e66b166f90fe68)) +- remove unnecessary node dependency in lib ([27c38e3](https://github.com/SmartThingsCommunity/smartthings-cli/commit/27c38e3fddb692b7985e77a0d5147f17f929558a)) +- use InstalledApp fields in installedapps:rename and refactor to use new functional paradigm ([8170818](https://github.com/SmartThingsCommunity/smartthings-cli/commit/817081833d5d260f48a5fda1255b12ff631ca0da)) # [0.0.0-pre.14](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.13...v0.0.0-pre.14) (2020-12-07) - ### Bug Fixes -* use default version of 1 when not id included in command line without version ([9acace0](https://github.com/SmartThingsCommunity/smartthings-cli/commit/9acace0b47388f552f2c50ed46f64c720b1176b9)) -* validate capability command and attribute names ([794d592](https://github.com/SmartThingsCommunity/smartthings-cli/commit/794d5928c855dbbe7168479763cc33852c0e4c76)) - +- use default version of 1 when not id included in command line without version ([9acace0](https://github.com/SmartThingsCommunity/smartthings-cli/commit/9acace0b47388f552f2c50ed46f64c720b1176b9)) +- validate capability command and attribute names ([794d592](https://github.com/SmartThingsCommunity/smartthings-cli/commit/794d5928c855dbbe7168479763cc33852c0e4c76)) ### Features -* **logger:** default log file path to oclif cacheDir ([a1ce523](https://github.com/SmartThingsCommunity/smartthings-cli/commit/a1ce523eac18c0ddda4c92bc627658bd394a0862)) - - - - +- **logger:** default log file path to oclif cacheDir ([a1ce523](https://github.com/SmartThingsCommunity/smartthings-cli/commit/a1ce523eac18c0ddda4c92bc627658bd394a0862)) # [0.0.0-pre.13](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.12...v0.0.0-pre.13) (2020-10-22) - ### Features -* Added option to filter devices by installedAppId ([62628a8](https://github.com/SmartThingsCommunity/smartthings-cli/commit/62628a80ca9c0fcc78339f4f7ecb6122dde44f33)) - - - - +- Added option to filter devices by installedAppId ([62628a8](https://github.com/SmartThingsCommunity/smartthings-cli/commit/62628a80ca9c0fcc78339f4f7ecb6122dde44f33)) # [0.0.0-pre.12](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.11...v0.0.0-pre.12) (2020-09-30) - ### Bug Fixes -* fix issues with binary and node builds ([7989558](https://github.com/SmartThingsCommunity/smartthings-cli/commit/7989558c2cda5b1cf1c2f622285bee1445a54f66)) - - - - +- fix issues with binary and node builds ([7989558](https://github.com/SmartThingsCommunity/smartthings-cli/commit/7989558c2cda5b1cf1c2f622285bee1445a54f66)) # [0.0.0-pre.11](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.10...v0.0.0-pre.11) (2020-09-28) - ### Bug Fixes -* remove ambiguous log method ([5466cd6](https://github.com/SmartThingsCommunity/smartthings-cli/commit/5466cd6ad3ed8bf35ab79d40f7ec2023cbd81f62)) -* Update to accommodate switch from vid to presentationId ([3756ed7](https://github.com/SmartThingsCommunity/smartthings-cli/commit/3756ed74abf6feca1d0ba44518ebb85de3930904)) - +- remove ambiguous log method ([5466cd6](https://github.com/SmartThingsCommunity/smartthings-cli/commit/5466cd6ad3ed8bf35ab79d40f7ec2023cbd81f62)) +- Update to accommodate switch from vid to presentationId ([3756ed7](https://github.com/SmartThingsCommunity/smartthings-cli/commit/3756ed74abf6feca1d0ba44518ebb85de3930904)) ### Features -* added device profile and capability localizations ([6a48783](https://github.com/SmartThingsCommunity/smartthings-cli/commit/6a487830539eb3660358c8c448ce1de2e3465f8e)) -* app list options and fixes to app and schema commands ([#101](https://github.com/SmartThingsCommunity/smartthings-cli/issues/101)) ([979e409](https://github.com/SmartThingsCommunity/smartthings-cli/commit/979e409c27e8ed9eb33c6fadad65a1811cf413ef)) -* use separate file for logging config ([80b3005](https://github.com/SmartThingsCommunity/smartthings-cli/commit/80b30051abb6670ea36f479e18c202fb3bf7b289)) - - - - +- added device profile and capability localizations ([6a48783](https://github.com/SmartThingsCommunity/smartthings-cli/commit/6a487830539eb3660358c8c448ce1de2e3465f8e)) +- app list options and fixes to app and schema commands ([#101](https://github.com/SmartThingsCommunity/smartthings-cli/issues/101)) ([979e409](https://github.com/SmartThingsCommunity/smartthings-cli/commit/979e409c27e8ed9eb33c6fadad65a1811cf413ef)) +- use separate file for logging config ([80b3005](https://github.com/SmartThingsCommunity/smartthings-cli/commit/80b30051abb6670ea36f479e18c202fb3bf7b289)) # [0.0.0-pre.10](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.9...v0.0.0-pre.10) (2020-09-02) - ### Bug Fixes -* bump core-sdk and log4js versions ([2a3f9ff](https://github.com/SmartThingsCommunity/smartthings-cli/commit/2a3f9fffdabbf5f5babb0cc4aaffe648ddd7ebd8)) - - - - +- bump core-sdk and log4js versions ([2a3f9ff](https://github.com/SmartThingsCommunity/smartthings-cli/commit/2a3f9fffdabbf5f5babb0cc4aaffe648ddd7ebd8)) # [0.0.0-pre.9](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.8...v0.0.0-pre.9) (2020-09-02) - ### Features -* added prompted device profile creation and device view commands ([#95](https://github.com/SmartThingsCommunity/smartthings-cli/issues/95)) ([a4f1672](https://github.com/SmartThingsCommunity/smartthings-cli/commit/a4f167208035544741fd750010554644d05c5d5a)) -* export api-helpers functions ([d723b85](https://github.com/SmartThingsCommunity/smartthings-cli/commit/d723b85cd8745ee3631ad5976eecd0ae66e50e0a)) - - - - +- added prompted device profile creation and device view commands ([#95](https://github.com/SmartThingsCommunity/smartthings-cli/issues/95)) ([a4f1672](https://github.com/SmartThingsCommunity/smartthings-cli/commit/a4f167208035544741fd750010554644d05c5d5a)) +- export api-helpers functions ([d723b85](https://github.com/SmartThingsCommunity/smartthings-cli/commit/d723b85cd8745ee3631ad5976eecd0ae66e50e0a)) # [0.0.0-pre.8](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.7...v0.0.0-pre.8) (2020-08-17) - ### Bug Fixes -* corrected processing of command line input into command line id ([25da623](https://github.com/SmartThingsCommunity/smartthings-cli/commit/25da6232e71d3485c833859785306e47a939f2c8)) - +- corrected processing of command line input into command line id ([25da623](https://github.com/SmartThingsCommunity/smartthings-cli/commit/25da6232e71d3485c833859785306e47a939f2c8)) ### Features -* add support for building input form command line options ([599c3c2](https://github.com/SmartThingsCommunity/smartthings-cli/commit/599c3c261fd8d84218f477d0118b1a5e2de4a90a)) - - - - +- add support for building input form command line options ([599c3c2](https://github.com/SmartThingsCommunity/smartthings-cli/commit/599c3c261fd8d84218f477d0118b1a5e2de4a90a)) # [0.0.0-pre.7](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.6...v0.0.0-pre.7) (2020-07-31) **Note:** Version bump only for package @smartthings/cli - - - - # [0.0.0-pre.6](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.5...v0.0.0-pre.6) (2020-07-28) **Note:** Version bump only for package @smartthings/cli - - - - # [0.0.0-pre.5](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.4...v0.0.0-pre.5) (2020-07-28) **Note:** Version bump only for package @smartthings/cli - - - - # [0.0.0-pre.4](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.0-pre.3...v0.0.0-pre.4) (2020-07-27) **Note:** Version bump only for package @smartthings/cli - - - - # [0.0.0-pre.3](https://github.com/SmartThingsCommunity/smartthings-cli/compare/v0.0.1-pre2...v0.0.0-pre.3) (2020-07-22) - ### Bug Fixes -* correct spelling of SchemaCreateResponse ([b0334b3](https://github.com/SmartThingsCommunity/smartthings-cli/commit/b0334b3e0f288c74cffab81d2808c48e9512eb20)) -* pass version arg to capabilities delete endpoint ([519c15a](https://github.com/SmartThingsCommunity/smartthings-cli/commit/519c15afc0f79cad61e8d8a633ab4f3d0ee84141)) - +- correct spelling of SchemaCreateResponse ([b0334b3](https://github.com/SmartThingsCommunity/smartthings-cli/commit/b0334b3e0f288c74cffab81d2808c48e9512eb20)) +- pass version arg to capabilities delete endpoint ([519c15a](https://github.com/SmartThingsCommunity/smartthings-cli/commit/519c15afc0f79cad61e8d8a633ab4f3d0ee84141)) ### Features -* add namespace flag to capabilities create ([8c0ae7e](https://github.com/SmartThingsCommunity/smartthings-cli/commit/8c0ae7e712d837f3c129f65fd11389d3b055c545)) +- add namespace flag to capabilities create ([8c0ae7e](https://github.com/SmartThingsCommunity/smartthings-cli/commit/8c0ae7e712d837f3c129f65fd11389d3b055c545)) diff --git a/packages/cli/README.md b/packages/cli/README.md index 4f7f92461..8dad0926e 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -122,6 +122,22 @@ that map to the API spec. * [`smartthings capabilities:update [ID] [VERSION]`](#smartthings-capabilitiesupdate-id-version) * [`smartthings config [NAME]`](#smartthings-config-name) * [`smartthings config:reset`](#smartthings-configreset) +* [`smartthings device-preferences [IDORINDEX]`](#smartthings-device-preferences-idorindex) +* [`smartthings device-preferences:create`](#smartthings-device-preferencescreate) +* [`smartthings device-preferences:update [ID]`](#smartthings-device-preferencesupdate-id) +* [`smartthings device-profiles [ID]`](#smartthings-device-profiles-id) +* [`smartthings device-profiles:create`](#smartthings-device-profilescreate) +* [`smartthings device-profiles:delete [ID]`](#smartthings-device-profilesdelete-id) +* [`smartthings device-profiles:device-config [ID]`](#smartthings-device-profilesdevice-config-id) +* [`smartthings device-profiles:presentation [ID]`](#smartthings-device-profilespresentation-id) +* [`smartthings device-profiles:publish [ID]`](#smartthings-device-profilespublish-id) +* [`smartthings device-profiles:translations [ID] [TAG]`](#smartthings-device-profilestranslations-id-tag) +* [`smartthings device-profiles:translations:delete [ID] [TAG]`](#smartthings-device-profilestranslationsdelete-id-tag) +* [`smartthings device-profiles:translations:upsert [ID]`](#smartthings-device-profilestranslationsupsert-id) +* [`smartthings device-profiles:update [ID]`](#smartthings-device-profilesupdate-id) +* [`smartthings device-profiles:view [ID]`](#smartthings-device-profilesview-id) +* [`smartthings device-profiles:view:create`](#smartthings-device-profilesviewcreate) +* [`smartthings device-profiles:view:update [ID]`](#smartthings-device-profilesviewupdate-id) * [`smartthings devicepreferences [IDORINDEX]`](#smartthings-devicepreferences-idorindex) * [`smartthings devicepreferences:create`](#smartthings-devicepreferencescreate) * [`smartthings devicepreferences:translations [PREFERENCEID] [TAG]`](#smartthings-devicepreferencestranslations-preferenceid-tag) @@ -154,15 +170,22 @@ that map to the API spec. * [`smartthings devices:update [ID]`](#smartthings-devicesupdate-id) * [`smartthings edge:channels [IDORINDEX]`](#smartthings-edgechannels-idorindex) * [`smartthings edge:channels:assign [DRIVERID] [VERSION]`](#smartthings-edgechannelsassign-driverid-version) +* [`smartthings edge:channels:assignments [IDORINDEX]`](#smartthings-edgechannelsassignments-idorindex) * [`smartthings edge:channels:create`](#smartthings-edgechannelscreate) * [`smartthings edge:channels:delete [ID]`](#smartthings-edgechannelsdelete-id) * [`smartthings edge:channels:drivers [IDORINDEX]`](#smartthings-edgechannelsdrivers-idorindex) * [`smartthings edge:channels:enroll [HUBID]`](#smartthings-edgechannelsenroll-hubid) * [`smartthings edge:channels:enrollments [IDORINDEX]`](#smartthings-edgechannelsenrollments-idorindex) +* [`smartthings edge:channels:invitations [IDORINDEX]`](#smartthings-edgechannelsinvitations-idorindex) +* [`smartthings edge:channels:invitations:accept ID`](#smartthings-edgechannelsinvitationsaccept-id) +* [`smartthings edge:channels:invitations:create`](#smartthings-edgechannelsinvitationscreate) +* [`smartthings edge:channels:invitations:delete [ID]`](#smartthings-edgechannelsinvitationsdelete-id) +* [`smartthings edge:channels:invitations:revoke [ID]`](#smartthings-edgechannelsinvitationsrevoke-id) * [`smartthings edge:channels:invites [IDORINDEX]`](#smartthings-edgechannelsinvites-idorindex) * [`smartthings edge:channels:invites:accept ID`](#smartthings-edgechannelsinvitesaccept-id) * [`smartthings edge:channels:invites:create`](#smartthings-edgechannelsinvitescreate) * [`smartthings edge:channels:invites:delete [ID]`](#smartthings-edgechannelsinvitesdelete-id) +* [`smartthings edge:channels:invites:revoke [ID]`](#smartthings-edgechannelsinvitesrevoke-id) * [`smartthings edge:channels:metainfo [IDORINDEX]`](#smartthings-edgechannelsmetainfo-idorindex) * [`smartthings edge:channels:unassign [DRIVERID]`](#smartthings-edgechannelsunassign-driverid) * [`smartthings edge:channels:unenroll [HUBID]`](#smartthings-edgechannelsunenroll-hubid) @@ -173,7 +196,9 @@ that map to the API spec. * [`smartthings edge:drivers:installed [IDORINDEX]`](#smartthings-edgedriversinstalled-idorindex) * [`smartthings edge:drivers:logcat [DRIVERID]`](#smartthings-edgedriverslogcat-driverid) * [`smartthings edge:drivers:package [PROJECTDIRECTORY]`](#smartthings-edgedriverspackage-projectdirectory) +* [`smartthings edge:drivers:publish [DRIVERID] [VERSION]`](#smartthings-edgedriverspublish-driverid-version) * [`smartthings edge:drivers:uninstall [DRIVERID]`](#smartthings-edgedriversuninstall-driverid) +* [`smartthings edge:drivers:unpublish [DRIVERID]`](#smartthings-edgedriversunpublish-driverid) * [`smartthings installedapps [ID]`](#smartthings-installedapps-id) * [`smartthings installedapps:delete [ID]`](#smartthings-installedappsdelete-id) * [`smartthings installedapps:rename [ID] [NAME]`](#smartthings-installedappsrename-id-name) @@ -191,15 +216,22 @@ that map to the API spec. * [`smartthings organizations [ID]`](#smartthings-organizations-id) * [`smartthings organizations:current`](#smartthings-organizationscurrent) * [`smartthings plugins`](#smartthings-plugins) -* [`smartthings plugins:inspect PLUGIN...`](#smartthings-pluginsinspect-plugin) * [`smartthings plugins:install PLUGIN...`](#smartthings-pluginsinstall-plugin) +* [`smartthings plugins:inspect PLUGIN...`](#smartthings-pluginsinspect-plugin) +* [`smartthings plugins:install PLUGIN...`](#smartthings-pluginsinstall-plugin-1) * [`smartthings plugins:link PLUGIN`](#smartthings-pluginslink-plugin) * [`smartthings plugins:uninstall PLUGIN...`](#smartthings-pluginsuninstall-plugin) +* [`smartthings plugins:uninstall PLUGIN...`](#smartthings-pluginsuninstall-plugin-1) +* [`smartthings plugins:uninstall PLUGIN...`](#smartthings-pluginsuninstall-plugin-2) * [`smartthings plugins:update`](#smartthings-pluginsupdate) * [`smartthings presentation PRESENTATIONID [MANUFACTURERNAME]`](#smartthings-presentation-presentationid-manufacturername) * [`smartthings presentation:device-config PRESENTATIONID [MANUFACTURERNAME]`](#smartthings-presentationdevice-config-presentationid-manufacturername) * [`smartthings presentation:device-config:create`](#smartthings-presentationdevice-configcreate) * [`smartthings presentation:device-config:generate ID`](#smartthings-presentationdevice-configgenerate-id) +* [`smartthings rooms [IDORINDEX]`](#smartthings-rooms-idorindex) +* [`smartthings rooms:create`](#smartthings-roomscreate) +* [`smartthings rooms:delete [ID]`](#smartthings-roomsdelete-id) +* [`smartthings rooms:update [ID]`](#smartthings-roomsupdate-id) * [`smartthings rules [IDORINDEX]`](#smartthings-rules-idorindex) * [`smartthings rules:create`](#smartthings-rulescreate) * [`smartthings rules:delete [ID]`](#smartthings-rulesdelete-id) @@ -241,7 +273,7 @@ DESCRIPTION get a specific app or a list of apps ``` -_See code: [src/commands/apps.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/apps.ts)_ +_See code: [src/commands/apps.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/apps.ts)_ ## `smartthings apps:authorize ARN` @@ -283,7 +315,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/v1.0.0-beta.0/packages/cli/src/commands/apps/authorize.ts)_ +_See code: [src/commands/apps/authorize.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/apps/authorize.ts)_ ## `smartthings apps:create` @@ -312,7 +344,7 @@ DESCRIPTION create an app ``` -_See code: [src/commands/apps/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/apps/create.ts)_ +_See code: [src/commands/apps/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/apps/create.ts)_ ## `smartthings apps:delete [ID]` @@ -335,7 +367,7 @@ DESCRIPTION delete the app ``` -_See code: [src/commands/apps/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/apps/delete.ts)_ +_See code: [src/commands/apps/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/apps/delete.ts)_ ## `smartthings apps:oauth [ID]` @@ -361,7 +393,7 @@ DESCRIPTION get OAuth information for the app ``` -_See code: [src/commands/apps/oauth.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/apps/oauth.ts)_ +_See code: [src/commands/apps/oauth.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/apps/oauth.ts)_ ## `smartthings apps:oauth:generate [ID]` @@ -390,7 +422,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/v1.0.0-beta.0/packages/cli/src/commands/apps/oauth/generate.ts)_ +_See code: [src/commands/apps/oauth/generate.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/apps/oauth/generate.ts)_ ## `smartthings apps:oauth:update [ID]` @@ -419,7 +451,7 @@ DESCRIPTION update the OAuth settings of the app ``` -_See code: [src/commands/apps/oauth/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/apps/oauth/update.ts)_ +_See code: [src/commands/apps/oauth/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/apps/oauth/update.ts)_ ## `smartthings apps:register [ID]` @@ -442,7 +474,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/v1.0.0-beta.0/packages/cli/src/commands/apps/register.ts)_ +_See code: [src/commands/apps/register.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/apps/register.ts)_ ## `smartthings apps:settings [ID]` @@ -468,7 +500,7 @@ DESCRIPTION get the settings of the app ``` -_See code: [src/commands/apps/settings.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/apps/settings.ts)_ +_See code: [src/commands/apps/settings.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/apps/settings.ts)_ ## `smartthings apps:settings:update [ID]` @@ -497,7 +529,7 @@ DESCRIPTION update the settings of the app ``` -_See code: [src/commands/apps/settings/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/apps/settings/update.ts)_ +_See code: [src/commands/apps/settings/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/apps/settings/update.ts)_ ## `smartthings apps:update [ID]` @@ -529,7 +561,7 @@ DESCRIPTION update the settings of the app ``` -_See code: [src/commands/apps/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/apps/update.ts)_ +_See code: [src/commands/apps/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/apps/update.ts)_ ## `smartthings autocomplete [SHELL]` @@ -590,7 +622,7 @@ DESCRIPTION get a specific capability ``` -_See code: [src/commands/capabilities.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/capabilities.ts)_ +_See code: [src/commands/capabilities.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/capabilities.ts)_ ## `smartthings capabilities:create` @@ -618,7 +650,7 @@ DESCRIPTION create a capability for a user ``` -_See code: [src/commands/capabilities/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/capabilities/create.ts)_ +_See code: [src/commands/capabilities/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/capabilities/create.ts)_ ## `smartthings capabilities:delete [ID] [VERSION]` @@ -643,7 +675,7 @@ DESCRIPTION delete a capability ``` -_See code: [src/commands/capabilities/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/capabilities/delete.ts)_ +_See code: [src/commands/capabilities/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/capabilities/delete.ts)_ ## `smartthings capabilities:namespaces` @@ -668,7 +700,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/v1.0.0-beta.0/packages/cli/src/commands/capabilities/namespaces.ts)_ +_See code: [src/commands/capabilities/namespaces.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/capabilities/namespaces.ts)_ ## `smartthings capabilities:presentation [ID] [VERSION]` @@ -698,7 +730,7 @@ DESCRIPTION get presentation information for a specific capability ``` -_See code: [src/commands/capabilities/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/capabilities/presentation.ts)_ +_See code: [src/commands/capabilities/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/capabilities/presentation.ts)_ ## `smartthings capabilities:presentation:create [ID] [VERSION]` @@ -729,7 +761,7 @@ DESCRIPTION create presentation model for a capability ``` -_See code: [src/commands/capabilities/presentation/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/capabilities/presentation/create.ts)_ +_See code: [src/commands/capabilities/presentation/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/capabilities/presentation/create.ts)_ ## `smartthings capabilities:presentation:update [ID] [VERSION]` @@ -760,7 +792,7 @@ DESCRIPTION update presentation information of a capability ``` -_See code: [src/commands/capabilities/presentation/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/capabilities/presentation/update.ts)_ +_See code: [src/commands/capabilities/presentation/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/capabilities/presentation/update.ts)_ ## `smartthings capabilities:translations [ID] [VERSION] [TAG]` @@ -919,7 +951,7 @@ EXAMPLES └──────────────────────────────────────┴───────────────────────┴──────────────────────────────────────────────────┘ ``` -_See code: [src/commands/capabilities/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/capabilities/translations.ts)_ +_See code: [src/commands/capabilities/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/capabilities/translations.ts)_ ## `smartthings capabilities:translations:create [ID] [VERSION]` @@ -1043,7 +1075,7 @@ EXAMPLES label: Output Modulation ``` -_See code: [src/commands/capabilities/translations/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/capabilities/translations/create.ts)_ +_See code: [src/commands/capabilities/translations/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/capabilities/translations/create.ts)_ ## `smartthings capabilities:translations:update [ID] [VERSION]` @@ -1167,7 +1199,7 @@ EXAMPLES label: Output Modulation ``` -_See code: [src/commands/capabilities/translations/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/capabilities/translations/update.ts)_ +_See code: [src/commands/capabilities/translations/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/capabilities/translations/update.ts)_ ## `smartthings capabilities:translations:upsert [ID] [VERSION]` @@ -1291,7 +1323,7 @@ EXAMPLES label: Output Modulation ``` -_See code: [src/commands/capabilities/translations/upsert.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/capabilities/translations/upsert.ts)_ +_See code: [src/commands/capabilities/translations/upsert.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/capabilities/translations/upsert.ts)_ ## `smartthings capabilities:update [ID] [VERSION]` @@ -1322,7 +1354,7 @@ DESCRIPTION update a capability ``` -_See code: [src/commands/capabilities/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/capabilities/update.ts)_ +_See code: [src/commands/capabilities/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/capabilities/update.ts)_ ## `smartthings config [NAME]` @@ -1347,7 +1379,7 @@ DESCRIPTION list config file entries ``` -_See code: [src/commands/config.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/config.ts)_ +_See code: [src/commands/config.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/config.ts)_ ## `smartthings config:reset` @@ -1368,15 +1400,15 @@ 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/v1.0.0-beta.0/packages/cli/src/commands/config/reset.ts)_ +_See code: [src/commands/config/reset.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.1/packages/cli/src/commands/config/reset.ts)_ -## `smartthings devicepreferences [IDORINDEX]` +## `smartthings device-preferences [IDORINDEX]` list device preferences or get information for a specific device preference ``` USAGE - $ smartthings devicepreferences [IDORINDEX] [-h] [-p ] [-t ] [--language ] [-O ] [-j] + $ smartthings device-preferences [IDORINDEX] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-o ] [-A] [-n ] [-s] ARGUMENTS @@ -1413,15 +1445,13 @@ 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/v1.0.0-beta.0/packages/cli/src/commands/devicepreferences.ts)_ - -## `smartthings devicepreferences:create` +## `smartthings device-preferences:create` create a device preference ``` USAGE - $ smartthings devicepreferences:create [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-i + $ smartthings device-preferences:create [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-i ] [-o ] [-d] FLAGS @@ -1460,123 +1490,13 @@ 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/v1.0.0-beta.0/packages/cli/src/commands/devicepreferences/create.ts)_ - -## `smartthings devicepreferences:translations [PREFERENCEID] [TAG]` - -get translated device preference values in a desired locale - -``` -USAGE - $ smartthings devicepreferences:translations [PREFERENCEID] [TAG] [-h] [-p ] [-t ] [--language ] [-O ] - [-j] [-y] [-o ] - -ARGUMENTS - PREFERENCEID device preference id or index - TAG the locale tag - -FLAGS - -O, --organization= The organization ID to use for this command - -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 - get translated device preference values in a desired locale - -EXAMPLES - # let command prompt to choose device preference and list locales - - $ smartthings devicepreferences:translations - - # specify device preference ID and list locales - - $ smartthings devicepreferences:translations motionSensitivity - - # specify device preference ID and locale to get translated device preference values - - $ smartthings devicepreferences:translations motionSensitivity ko -``` - -_See code: [src/commands/devicepreferences/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/devicepreferences/translations.ts)_ - -## `smartthings devicepreferences:translations:create [PREFERENCEID]` - -create a device preference translation - -``` -USAGE - $ smartthings devicepreferences:translations:create [PREFERENCEID] [-h] [-p ] [-t ] [--language ] [-O ] [-j] - [-y] [-i ] [-o ] [-d] - -ARGUMENTS - PREFERENCEID device preference id or index - -FLAGS - -O, --organization= The organization ID to use for this command - -d, --dry-run produce JSON but don't actually submit - -h, --help Show CLI help. - -i, --input= specify input file - -j, --json use JSON format of input and/or output - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -y, --yaml use YAML format of input and/or output - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale - -DESCRIPTION - create a device preference translation - -EXAMPLES - $ smartthings devicepreferences:translations:create -i preferenceTranslation.json -``` - -_See code: [src/commands/devicepreferences/translations/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/devicepreferences/translations/create.ts)_ - -## `smartthings devicepreferences:translations:update [PREFERENCEID]` - -update a device preference translation - -``` -USAGE - $ smartthings devicepreferences:translations:update [PREFERENCEID] [-h] [-p ] [-t ] [--language ] [-O ] [-j] - [-y] [-i ] [-o ] [-d] - -ARGUMENTS - PREFERENCEID device preference id or index - -FLAGS - -O, --organization= The organization ID to use for this command - -d, --dry-run produce JSON but don't actually submit - -h, --help Show CLI help. - -i, --input= specify input file - -j, --json use JSON format of input and/or output - -o, --output= specify output file - -p, --profile= [default: default] configuration profile - -t, --token= the auth token to use - -y, --yaml use YAML format of input and/or output - --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale - -DESCRIPTION - update a device preference translation - -EXAMPLES - $ smartthings devicepreferences:translations:update -i preferenceTranslation.json -``` - -_See code: [src/commands/devicepreferences/translations/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/devicepreferences/translations/update.ts)_ - -## `smartthings devicepreferences:update [ID]` +## `smartthings device-preferences:update [ID]` update a device preference ``` USAGE - $ smartthings devicepreferences:update [ID] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-i + $ smartthings device-preferences:update [ID] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-i ] [-o ] [-d] ARGUMENTS @@ -1606,15 +1526,13 @@ 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/v1.0.0-beta.0/packages/cli/src/commands/devicepreferences/update.ts)_ - -## `smartthings deviceprofiles [ID]` +## `smartthings device-profiles [ID]` list all device profiles available in a user account or retrieve a single profile ``` USAGE - $ smartthings deviceprofiles [ID] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-o + $ smartthings device-profiles [ID] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-o ] [-A] [-v] ARGUMENTS @@ -1652,15 +1570,13 @@ 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/v1.0.0-beta.0/packages/cli/src/commands/deviceprofiles.ts)_ - -## `smartthings deviceprofiles:create` +## `smartthings device-profiles:create` Create a new device profile ``` USAGE - $ smartthings deviceprofiles:create [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-i + $ smartthings device-profiles:create [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-i ] [-o ] [-d] FLAGS @@ -1695,15 +1611,13 @@ 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/v1.0.0-beta.0/packages/cli/src/commands/deviceprofiles/create.ts)_ - -## `smartthings deviceprofiles:delete [ID]` +## `smartthings device-profiles:delete [ID]` delete a device profile ``` USAGE - $ smartthings deviceprofiles:delete [ID] [-h] [-p ] [-t ] [--language ] [-O ] + $ smartthings device-profiles:delete [ID] [-h] [-p ] [-t ] [--language ] [-O ] ARGUMENTS ID Device profile UUID or number in the list @@ -1727,15 +1641,13 @@ 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/v1.0.0-beta.0/packages/cli/src/commands/deviceprofiles/delete.ts)_ - -## `smartthings deviceprofiles:device-config [ID]` +## `smartthings device-profiles:device-config [ID]` get the device configuration associated with a device profile ``` USAGE - $ smartthings deviceprofiles:device-config [ID] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-o + $ smartthings device-profiles:device-config [ID] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-o ] ARGUMENTS @@ -1758,15 +1670,13 @@ ALIASES $ smartthings device-profiles:device-config ``` -_See code: [src/commands/deviceprofiles/device-config.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/deviceprofiles/device-config.ts)_ - -## `smartthings deviceprofiles:presentation [ID]` +## `smartthings device-profiles:presentation [ID]` get the presentation associated with a device profile ``` USAGE - $ smartthings deviceprofiles:presentation [ID] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-o + $ smartthings device-profiles:presentation [ID] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-o ] ARGUMENTS @@ -1806,15 +1716,13 @@ 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/v1.0.0-beta.0/packages/cli/src/commands/deviceprofiles/presentation.ts)_ - -## `smartthings deviceprofiles:publish [ID]` +## `smartthings device-profiles:publish [ID]` publish a device profile (published profiles cannot be modified) ``` USAGE - $ smartthings deviceprofiles:publish [ID] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-o + $ smartthings device-profiles:publish [ID] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-o ] ARGUMENTS @@ -1837,15 +1745,13 @@ ALIASES $ smartthings device-profiles:publish ``` -_See code: [src/commands/deviceprofiles/publish.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/deviceprofiles/publish.ts)_ - -## `smartthings deviceprofiles:translations [ID] [TAG]` +## `smartthings device-profiles:translations [ID] [TAG]` Get list of locales supported by the device profiles ``` USAGE - $ smartthings deviceprofiles:translations [ID] [TAG] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] + $ smartthings device-profiles:translations [ID] [TAG] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-o ] [-v] ARGUMENTS @@ -1971,15 +1877,13 @@ EXAMPLES └───────────┴────────────┴───────────────────────────────┘ ``` -_See code: [src/commands/deviceprofiles/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/deviceprofiles/translations.ts)_ - -## `smartthings deviceprofiles:translations:delete [ID] [TAG]` +## `smartthings device-profiles:translations:delete [ID] [TAG]` delete a device profile translation ``` USAGE - $ smartthings deviceprofiles:translations:delete [ID] [TAG] [-h] [-p ] [-t ] [--language ] [-O + $ smartthings device-profiles:translations:delete [ID] [TAG] [-h] [-p ] [-t ] [--language ] [-O ] ARGUMENTS @@ -2039,15 +1943,13 @@ 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/v1.0.0-beta.0/packages/cli/src/commands/deviceprofiles/translations/delete.ts)_ - -## `smartthings deviceprofiles:translations:upsert [ID]` +## `smartthings device-profiles:translations:upsert [ID]` create or update a device profile translation ``` USAGE - $ smartthings deviceprofiles:translations:upsert [ID] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-i + $ smartthings device-profiles:translations:upsert [ID] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-i ] [-o ] [-d] ARGUMENTS @@ -2137,15 +2039,13 @@ EXAMPLES description: Switchable outlet 1 power ``` -_See code: [src/commands/deviceprofiles/translations/upsert.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/deviceprofiles/translations/upsert.ts)_ - -## `smartthings deviceprofiles:update [ID]` +## `smartthings device-profiles:update [ID]` update a device profile ``` USAGE - $ smartthings deviceprofiles:update [ID] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-i + $ smartthings device-profiles:update [ID] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-i ] [-o ] [-d] ARGUMENTS @@ -2170,15 +2070,13 @@ ALIASES $ smartthings device-profiles:update ``` -_See code: [src/commands/deviceprofiles/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/deviceprofiles/update.ts)_ - -## `smartthings deviceprofiles:view [ID]` +## `smartthings device-profiles:view [ID]` show device profile and device configuration in a single, consolidated view ``` USAGE - $ smartthings deviceprofiles:view [ID] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-o + $ smartthings device-profiles:view [ID] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-o ] ARGUMENTS @@ -2201,15 +2099,13 @@ ALIASES $ smartthings device-profiles:view ``` -_See code: [src/commands/deviceprofiles/view.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/deviceprofiles/view.ts)_ - -## `smartthings deviceprofiles:view:create` +## `smartthings device-profiles:view:create` create a new device profile and device configuration ``` USAGE - $ smartthings deviceprofiles:view:create [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-i + $ smartthings device-profiles:view:create [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-i ] [-o ] [-d] FLAGS @@ -2278,15 +2174,13 @@ EXAMPLES - capability: switch ``` -_See code: [src/commands/deviceprofiles/view/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/deviceprofiles/view/create.ts)_ - -## `smartthings deviceprofiles:view:update [ID]` +## `smartthings device-profiles:view:update [ID]` update a device profile and configuration ``` USAGE - $ smartthings deviceprofiles:view:update [ID] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-i + $ smartthings device-profiles:view:update [ID] [-h] [-p ] [-t ] [--language ] [-O ] [-j] [-y] [-i ] [-o ] [-d] ARGUMENTS @@ -2364,103 +2258,1097 @@ EXAMPLES - capability: switch ``` -_See code: [src/commands/deviceprofiles/view/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v1.0.0-beta.0/packages/cli/src/commands/deviceprofiles/view/update.ts)_ - -## `smartthings devices [ID]` +## `smartthings devicepreferences [IDORINDEX]` -list all devices available in a user account or retrieve a single device +list device preferences or get information for a specific device preference ``` USAGE - $ smartthings devices [ID] [-h] [-p ] [-t ] [--language ] [-j] [-y] [-o ] [-l - ] [-C and|or -c ] [-d ] [-a ] [--type - BLE|BLE_D2D|DTH|ENDPOINT_APP|HUB|IR|IR_OCF|MQTT|OCF|PENGYOU|VIDEO|VIPER|WATCH|GROUP|LAN|ZIGBEE|ZWAVE] [-v] + $ smartthings devicepreferences [IDORINDEX] [-h] [-p ] [-t ] [--language ] [-O ] [-j] + [-y] [-o ] [-A] [-n ] [-s] ARGUMENTS - ID device to retrieve; UUID or the number of the device from list + IDORINDEX device preference id or index FLAGS - -C, --capabilities-mode=