diff --git a/.changeset/cuddly-ants-look.md b/.changeset/cuddly-ants-look.md deleted file mode 100644 index f44b63d9..00000000 --- a/.changeset/cuddly-ants-look.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@smartthings/cli": major ---- - -refactor to use yargs diff --git a/CHANGELOG.md b/CHANGELOG.md index 73f64d04..67ad7533 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,19 +2,19 @@ ## 2.0.0 -* All commands now have examples in their help (`smartthings --help`). -* args that require enum-like types are now case-insensitive. e.g. For example, you can now list zigbee +- All commands now have examples in their help (`smartthings --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](https://www.npmjs.com/package/env-paths) library +- The config file location is now determined by [envPaths](https://www.npmjs.com/package/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 `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 +- 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`) +- 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. ## 1.10.6 diff --git a/package-lock.json b/package-lock.json index 836fb889..62ba9b72 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@smartthings/cli", - "version": "2.0.0-prerelease2", + "version": "2.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@smartthings/cli", - "version": "2.0.0-prerelease2", + "version": "2.0.0", "license": "Apache-2.0", "dependencies": { "@aws-sdk/client-lambda": "^3.899.0", diff --git a/package.json b/package.json index c1a2b37e..b1eb5308 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@smartthings/cli", - "version": "2.0.0-prerelease2", + "version": "2.0.0", "description": "Command Line Interface for the SmartThings APIs", "keywords": [ "smartthings",