github SmartThingsCommunity/smartthings-cli @smartthings/cli@2.0.0
2.0.0

What's Changed

  • 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 envPaths 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 config command 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 1
    instead of smartthings 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 --token flag is no longer included in usage info (i.e. it does not show up when running --help)
    but it still works.

Full Changelog: https://github.com/SmartThingsCommunity/smartthings-cli/compare/v2.0.0-prerelease2...@smartthings/cli@2.0.0

Don't miss a new smartthings-cli release

NewReleases is sending notifications on new releases.