- All commands now have examples in their help (
smartthings <command> --help). - args that require enum-like types are now case-insensitive. e.g. For example, you can now list zigbee
devices with
smartthings devices --type zigbee. - The config file location is now determined by env-paths library
rather than oclif. A reasonable attempt has been made at finding the old config and copying it for
the user so normally no change is needed. (Future changes will need to be made to the new file, of course.)
The
configcommand now displays the location of the configuration file. - Commands that take a capability specification on the command line now get the version from a flag
rather than an argument. e.g.
smartthings capabilities myteam.myCapability --capability-version 1instead ofsmartthings capabilities myteam.myCapability 1. Note that the version is always one, so this flag is not necessary at this time. - Under-the-hood changes to make the CLI more maintainable.
- The
--tokenflag is no longer included in usage info (i.e. it does not show up when running--help) but it still works.
- #784
4b19148Thanks @rossiam! - fix bug preventing interactive editing of apps with no icon image set
-
#754
b9f0ecbThanks @rossiam! - Limit port range for Schema Apps to 80-8002. -
Updated dependencies [
b9f0ecb]:- @smartthings/cli-lib@2.3.2
-
#699
a471d47Thanks @rossiam! - include label as well as name when prompting user for an organization -
#702
b2392f7Thanks @rossiam! - fixed bug where prompts for optional integers were treating 0 as if no value was entered -
#703
44ffaa8Thanks @rossiam! - update to Node 22; update core SDK and axios dependencies -
Updated dependencies [
b2392f7,44ffaa8]:- @smartthings/cli-lib@2.3.1
- #637
8d62e62Thanks @rossiam! - Force user to choose organization for schema app before doing anything that will automatically assign one.
- #619
032a231Thanks @rossiam! - query user for organization in schema:update and schema:create commands
- #622
b99e397Thanks @rossiam! - fix error when running invites:schema that could happen if user has a schema app without an organization
-
#566
fdf4250Thanks @rossiam! - handle epoch timestamps for history, honorafterflag strictly in JSON and YAML output -
#607
b82345dThanks @rossiam! - fixed bug preventing editing of webhook URLs in Schema apps -
Updated dependencies [
a9d6398]:- @smartthings/plugin-cli-edge@3.3.3
- @smartthings/cli-lib@2.2.4
-
#549
60a9126Thanks @bflorian! - feat: added organizations to Schema CRUD commands -
#551
8b18df3Thanks @Doczillar! - Improved channels:unassign prompt text
- #544
c32e1e1Thanks @rossiam! - added support for viewing edge driver usage and pruning unused drivers
- #541
b865ad8Thanks @rossiam! - Fixed cancel action on schema:create command when validation errors exist.
- Updated dependencies [
a427e34]:- @smartthings/cli-lib@2.2.0
-
#537
964fb60Thanks @bflorian! - chore: reverted minimum node version to 18.5.0 -
Updated dependencies [
964fb60]:- @smartthings/cli-lib@2.1.1
- @smartthings/plugin-cli-edge@3.2.1
- #498
86e82daThanks @Sitlintac! - add commands for location modes
- Updated dependencies [
7f331ca]:- @smartthings/plugin-cli-edge@3.2.0
-
#513
13167bdThanks @rossiam! - edge:channels:unenroll- don't include hubs not enrolled in any channel when asking user for a hub
- present only enrolled channels when asking the user to choose a channel
-
#515
c391bb5Thanks @rossiam! - add help text to several Q & A format input items -
Updated dependencies [
13167bd,c391bb5,13167bd]:- @smartthings/plugin-cli-edge@3.1.1
- @smartthings/cli-lib@2.1.0
-
#511
5cea11fThanks @rossiam! - add new device fields to standard output -
#502
fc9f67fThanks @rossiam! - add Q&A mode to apps:oauth:generate command -
#509
9b9b398Thanks @rossiam! - query user for hub inedge:drivers:logcatcommand
-
#503
736fc1fThanks @rossiam! - make icon optional in apps:create command -
#508
31e99c7Thanks @rossiam! - support Q&A input for apps and app OAuth data -
#510
8abbb07Thanks @Sitlintac! - fix commands to prompt for required inputs when not supplied on the command linecapabilities:presentationasks for a capabilitydeviceprofiles:viewasks for a deviceprofile
-
Updated dependencies [
9b9b398,9b9b398]:- @smartthings/plugin-cli-edge@3.1.0
- @smartthings/cli-lib@2.0.1
- Updated dependencies [
7c64fea,f7a3a23,79da49f]:- @smartthings/plugin-cli-edge@3.0.0
- @smartthings/cli-lib@2.0.0
- #472
0df2ffdThanks @rossiam! - softprops/action-gh-release@v1 action requires / for path separators now
-
#462
b03292dThanks @Sitlintac! - enable verbose flag when getting a single deviceadd helper method to get location and room names for a single item
-
#454
0e94827Thanks @rossiam! - allow more history recall when using JSON or YAML output -
Updated dependencies [
b03292d]:- @smartthings/cli-lib@1.1.0
-
#448
c615772Thanks @rossiam! - fixed error handling stdin when not run from the console -
Updated dependencies [
c615772,712476c]:- @smartthings/cli-lib@1.0.1
- @smartthings/plugin-cli-edge@2.0.1
-
#309
7e3a1b8Thanks @john-u! - - shutdown logger before Node exits- update @oclif deps to latest
- replace process exits with command errors
-
#356
97f5c32Thanks @john-u! - bump log4js to resolve vulnerability -
#294
356a24bThanks @john-u! - Add ability to enable debug logging (to console) via env variable. -
#410
4bff9eaThanks @rossiam! - incorporate edge plugin into monorepo -
#407
f2ebdc2Thanks @john-u! - Add build support for macos-arm64, linux-arm64, and linuxstatic-armv7 -
#398
d20ad61Thanks @rossiam! - IMPORTANT: removed-idsuffix from command line flags that had them for consistency -
#374
aeb8b28Thanks @bflorian! - feat: added device and location history commands -
#306
d4730e0Thanks @john-u! - add debug logging to defualt login authenticator -
#369
d62c051Thanks @bflorian! - feat: Refactored devices command and added health and status flags. -
#284
51a9c9aThanks @rossiam! - build fix (don't remove compiled files before publish) -
#274
efc1eedThanks @john-u! - replace usage of lodash with native ES or separate lodash modules -
#427
5493e58Thanks @rossiam! - fix bug when changing drivers to an unsupported driver -
#394
e13f0c3Thanks @rossiam! - * fix vendor support information output for edge:drivers:installed command- fix lookup by index for edge:drivers:installed command
-
#439
0ff4918Thanks @rossiam! - removed command aliases (@oclif/plugin-notfoundplugin works much better now than it once did) -
#355
a7bf89dThanks @rossiam! - minor cleanup of capabilities table output -
#361
688082fThanks @bflorian! - Add userEmail field to ST Schema apps -
#301
6ad407aThanks @john-u! - bump @smartthings/plugin-cli-edge -
#339
0849c4eThanks @rossiam! - Update table output: - switch to table package which handles international characters properly - removed compact / expanded command line options - removed compactTableOutput configuration option - added group-rows and no-group-rows command line options - added groupTableOutputRows configuration option - (lib) completely isolated use of dependency to table-generator.ts -
#351
e8852abThanks @Sitlintac! - enable multiple types when filtering devices -
#431
dd7cffcThanks @rossiam! - fix sorting for edge:channels:drivers command -
#400
eb1aab8Thanks @rossiam! - removed-idsuffix from flags, update help text to reflect this -
#381
852cdd7Thanks @john-u! - resolve logcat command bug that was ignoring all messages from the hub -
#327
82652c9Thanks @bflorian! - Added commands to create virtual devices and generate events on their behalf -
#417
5a90f2eThanks @rossiam! - fix issue with creating capabilities with commands with no arguments -
#435
2c889a2Thanks @rossiam! - output fewer columns when listing channels to make the list fit on the screen better -
#386
34b91abThanks @bflorian! - fix - fixed bug in capability translation output -
#313
3aa7e60Thanks @rossiam! - - edge:drivers:package command - log error when broken symlink is encountered- edge:drivers:package command - log error when symlink to directory is encountered
- added edge:drivers:switch command for switching driver used by a device
-
#371
b2ea4c0Thanks @rossiam! - include virtual device info in device output -
#432
1478253Thanks @rossiam! - add --verbose option to edge:drivers:installed command to include channel name -
#375
3523e38Thanks @john-u! - bump @smartthings/plugin-cli-edge to support newer oclif/core version -
#282
48236e7Thanks @rossiam! - Updated pkg tool used to build binaries and target Node 16. -
#367
22b9a78Thanks @john-u! - pin dependency to resolve timeout error -
#348
d1ee1c1Thanks @Sitlintac! - feat: add verbose ability to rooms command- reorder columns in table output
- add test
-
#392
594b5c7Thanks @rossiam! - include location name for installedapps and installedschema when querying a single item in verbose mode -
#414
206c4a1Thanks @john-u! - switch Windows archive format back to zip -
#335
975c037Thanks @john-u! - update @smartthings/core-sdk to 5.0.0 -
Updated dependencies [
4464873,7e3a1b8,356a24b,4bff9ea,d20ad61,d4730e0,2ed225f,efc1eed,5493e58,a77e73b,0ff4918,d0fd25d,688082f,e9ff59c,1e0bae5,ea04f1e,2ed225f,0849c4e,dd7cffc,82652c9,47b27d2,2c889a2,d91418c,1478253,3523e38,22b9a78,97f5c32,b0cb399,ec1744e,4677218,975c037,594b5c7]:- @smartthings/cli-lib@1.0.0
- @smartthings/plugin-cli-edge@2.0.0
-
#439
0ff4918Thanks @rossiam! - removed command aliases (@oclif/plugin-notfoundplugin works much better now than it once did) -
Updated dependencies [
0ff4918]:- @smartthings/plugin-cli-edge@2.0.0-beta.5
-
#435
2c889a2Thanks @rossiam! - output fewer columns when listing channels to make the list fit on the screen better -
Updated dependencies [
2c889a2]:- @smartthings/plugin-cli-edge@2.0.0-beta.4
-
#427
5493e58Thanks @rossiam! - fix bug when changing drivers to an unsupported driver -
#431
dd7cffcThanks @rossiam! - fix sorting for edge:channels:drivers command -
#432
1478253Thanks @rossiam! - add --verbose option to edge:drivers:installed command to include channel name -
Updated dependencies [
5493e58,e9ff59c,dd7cffc,1478253]:- @smartthings/plugin-cli-edge@2.0.0-beta.3
- @smartthings/cli-lib@1.0.0-beta.17
-
#417
5a90f2eThanks @rossiam! - fix issue with creating capabilities with commands with no arguments -
#414
206c4a1Thanks @john-u! - switch Windows archive format back to zip -
Updated dependencies [
ec1744e]:- @smartthings/plugin-cli-edge@2.0.0-beta.2
-
#410
4bff9eaThanks @rossiam! - incorporate edge plugin into monorepo -
Updated dependencies [
4bff9ea]:- @smartthings/plugin-cli-edge@2.0.0-beta.1
- #407
f2ebdc2Thanks @john-u! - Add build support for macos-arm64, linux-arm64, and linuxstatic-armv7
- #398
d20ad61Thanks @rossiam! - IMPORTANT: removed-idsuffix from command line flags that had them for consistency
- #394
e13f0c3Thanks @rossiam! - * fix vendor support information output for edge:drivers:installed command- fix lookup by index for edge:drivers:installed command
-
#392
594b5c7Thanks @rossiam! - include location name for installedapps and installedschema when querying a single item in verbose mode -
Updated dependencies [
d20ad61,594b5c7]:- @smartthings/cli-lib@1.0.0-beta.15
-
#381
852cdd7Thanks @john-u! - resolve logcat command bug that was ignoring all messages from the hub -
Updated dependencies [
ea04f1e]:- @smartthings/cli-lib@1.0.0-beta.14
- #369
d62c051Thanks @bflorian! - feat: Refactored devices command and added health and status flags.
-
#375
3523e38Thanks @john-u! - bump @smartthings/plugin-cli-edge to support newer oclif/core version -
Updated dependencies [
3523e38]:- @smartthings/cli-lib@1.0.0-beta.13
-
#367
22b9a78Thanks @john-u! - pin dependency to resolve timeout error -
Updated dependencies [
688082f,47b27d2,22b9a78]:- @smartthings/cli-lib@1.0.0-beta.12
-
#351
e8852abThanks @Sitlintac! - enable multiple types when filtering devices -
Updated dependencies [
97f5c32]:- @smartthings/cli-lib@1.0.0-beta.11
- #348
d1ee1c1Thanks @Sitlintac! - feat: add verbose ability to rooms command- reorder columns in table output
- add test
- #339
0849c4eThanks @rossiam! - Update table output: - switch to table package which handles international characters properly - removed compact / expanded command line options - removed compactTableOutput configuration option - added group-rows and no-group-rows command line options - added groupTableOutputRows configuration option - (lib) completely isolated use of dependency to table-generator.ts
- #327
82652c9Thanks @bflorian! - Added commands to create virtual devices and generate events on their behalf
-
#335
975c037Thanks @john-u! - update @smartthings/core-sdk to 5.0.0 -
Updated dependencies [
0849c4e,82652c9,975c037]:- @smartthings/cli-lib@1.0.0-beta.10
- #309
7e3a1b8Thanks @john-u! - - shutdown logger before Node exits- update @oclif deps to latest
- replace process exits with command errors
- #313
3aa7e60Thanks @rossiam! - - edge:drivers:package command - log error when broken symlink is encountered- edge:drivers:package command - log error when symlink to directory is encountered
- added edge:drivers:switch command for switching driver used by a device
- Updated dependencies [
7e3a1b8]:- @smartthings/cli-lib@1.0.0-beta.8
-
#306
d4730e0Thanks @john-u! - add debug logging to defualt login authenticator -
Updated dependencies [
d4730e0]:- @smartthings/cli-lib@1.0.0-beta.7
-
#294
356a24bThanks @john-u! - Add ability to enable debug logging (to console) via env variable. -
Updated dependencies [
4464873,356a24b]:- @smartthings/cli-lib@1.0.0-beta.5
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
1.0.0-beta.0 (2022-03-10)
Note: Version bump only for package @smartthings/cli
1.0.0-beta.0 (2022-03-10)
Note: Version bump only for package @smartthings/cli
0.0.0-pre.41 (2022-03-07)
- deps: bump plugin-cli-edge to 1.10.1 (14d7ad3)
0.0.0-pre.40 (2022-03-03)
- devicepreferences: make create prompts more clear (258b9da)
- include unique User-Agent in client requests (4886cc2)
0.0.0-pre.39 (2022-02-18)
- add type filter to devices command; minor refactoring (5ea91d7)
0.0.0-pre.38 (2022-02-17)
- edge: bump plugin-cli-edge to 1.8.1 (813c903)
0.0.0-pre.37 (2022-02-11)
- deps: update dependencies (24d0c23)
- hide uncommon flags from help to reduce clutter (deaebb4)
- migrate to @oclif/core (7354083)
0.0.0-pre.36 (2022-01-27)
0.0.0-pre.35 (2022-01-19)
- update versions for oclif dependencies (e943245)
0.0.0-pre.34 (2021-12-23)
- edge: debug logging in logcat (dd8df46)
0.0.0-pre.33 (2021-12-15)
0.0.0-pre.32 (2021-10-25)
0.0.0-pre.31 (2021-10-07)
- README: fix code links (738357d), closes #200
- Don't consider lack of custom capabilities an error in list command (514f14a)
0.0.0-pre.30 (2021-09-21)
- update edge plugin to v1.4.0 (a096f7a)
0.0.0-pre.29 (2021-09-10)
- Added schema:regenerate to create new client IDs and secrets (8cc9d9a)
0.0.0-pre.28 (2021-08-19)
- bump edge plugin version to 1.0.5 (e86e904)
0.0.0-pre.27 (2021-08-16)
- Added output format flags to deviceprofiles:presentation (2b93b48)
- add edge commands plugin (354ce95)
0.0.0-pre.26 (2021-07-22)
- Default schema authorization to the correct principal (7c8a76c)
- add support for device preferences commands (d4ad86d)
- Added device preferences and capability units (1d9b1c1)
0.0.0-pre.25 (2021-05-24)
- fixes to capability translations (f8b7471)
- LoginAuthenticator: provide generic auth method (ae82b6a)
- add device preferences output to device profiles (fa53f10)
0.0.0-pre.24 (2021-04-29)
- add logout command which just removes credential for now (942d886)
0.0.0-pre.23 (2021-04-23)
- pin pkg to resolve missing commands (03701dd)
0.0.0-pre.22 (2021-04-21)
Note: Version bump only for package @smartthings/cli
0.0.0-pre.21 (2021-04-20)
Note: Version bump only for package @smartthings/cli
0.0.0-pre.20 (2021-04-12)
- Accept manufacturerName in device config command (2a17dc4)
0.0.0-pre.19 (2021-04-06)
- output JSON by default when not outputting to the console (a0d91ff)
0.0.0-pre.18 (2021-02-01)
- Added commands to list, show, and delete installed ST schema instances (3158d47)
0.0.0-pre.17 (2021-01-25)
Note: Version bump only for package @smartthings/cli
0.0.0-pre.16 (2021-01-22)
- correct ordering of InputProcessor calls (dd4dfd0)
- Corrected bug display verbose apps table (0b35655)
- fix rules lookup without location id and functional refactor (bfa67b6)
- use kebab case for all flags (128dcbb)
- Added support for specifying a language header (00f50b9)
0.0.0-pre.15 (2020-12-21)
- Added support for device presentation manufacturer name (804eaaa)
- remove unnecessary node dependency in lib (27c38e3)
- use InstalledApp fields in installedapps:rename and refactor to use new functional paradigm (8170818)
0.0.0-pre.14 (2020-12-07)
- use default version of 1 when not id included in command line without version (9acace0)
- validate capability command and attribute names (794d592)
- logger: default log file path to oclif cacheDir (a1ce523)
0.0.0-pre.13 (2020-10-22)
- Added option to filter devices by installedAppId (62628a8)
0.0.0-pre.12 (2020-09-30)
- fix issues with binary and node builds (7989558)
0.0.0-pre.11 (2020-09-28)
- remove ambiguous log method (5466cd6)
- Update to accommodate switch from vid to presentationId (3756ed7)
- added device profile and capability localizations (6a48783)
- app list options and fixes to app and schema commands (#101) (979e409)
- use separate file for logging config (80b3005)
0.0.0-pre.10 (2020-09-02)
- bump core-sdk and log4js versions (2a3f9ff)
0.0.0-pre.9 (2020-09-02)
- added prompted device profile creation and device view commands (#95) (a4f1672)
- export api-helpers functions (d723b85)
0.0.0-pre.8 (2020-08-17)
- corrected processing of command line input into command line id (25da623)
- add support for building input form command line options (599c3c2)
0.0.0-pre.7 (2020-07-31)
Note: Version bump only for package @smartthings/cli
0.0.0-pre.6 (2020-07-28)
Note: Version bump only for package @smartthings/cli
0.0.0-pre.5 (2020-07-28)
Note: Version bump only for package @smartthings/cli
0.0.0-pre.4 (2020-07-27)
Note: Version bump only for package @smartthings/cli
0.0.0-pre.3 (2020-07-22)
- correct spelling of SchemaCreateResponse (b0334b3)
- pass version arg to capabilities delete endpoint (519c15a)
- add namespace flag to capabilities create (8c0ae7e)