2.0.0
·
20 commits
to main
since this release
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 withsmartthings 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.)
Theconfigcommand 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 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.
Full Changelog: https://github.com/SmartThingsCommunity/smartthings-cli/compare/v2.0.0-prerelease2...@smartthings/cli@2.0.0