Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 24.4.1
node-version: 24.8.0

- name: Install Dependencies
run: npm ci
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 24.4.1
node-version: 24.8.0

- run: npm ci
- run: npm run build
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 24.4.1
node-version: 24.8.0

- run: npm ci

Expand All @@ -187,7 +187,7 @@ jobs:
body_path: ${{ github.workspace }}/RELEASE_NOTES.txt
tag_name: ${{ needs.release.outputs.cli-tag }}
prerelease: false
files: 'packages/cli/dist_bin/**/*.@(tar.gz|zip)'
files: 'packages/cli/dist_bin/**/*.@(tgz|zip)'

homebrew-formula:
needs: [release, github-release]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 24.4.1
node-version: 24.8.0
- run: npm ci
- run: npx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD

Expand All @@ -23,7 +23,7 @@ jobs:
fail-fast: false
matrix:
# add/remove versions as we move support forward
node-version: [24]
node-version: [24.8.0]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Change Log

## 2.0.0

* All commands now have examples in their help (`smartthings <command> --help`).
* args that require enum-like types are now case-insensitive. e.g. 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
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 other than making changes in the new file if necessary.
The `config` command now displays the name 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.

## 1.10.5

### Patch Changes
Expand Down
5,891 changes: 170 additions & 5,721 deletions README.md

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions doc/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

## Overview

The default CLI configuration can be overridden by creating a YAML file called `config.yaml` in the
following location:
The default CLI configuration can be overridden by creating a YAML file called `config.yaml`. The
location of this file varies by operating system. The easiest way to find it is to run `smartthings config`
on your machine and the full filename will be listed.

* `$HOME/.config/@smartthings/cli` on MacOS or Linux
* `$HOME$/Library/Preferences/@smartthings/cli` on MacOS
* `$HOME/.config/@smartthings/cli` on Linux
* `%LOCALAPPDATA%\@smartthings\cli` on Windows

## Profiles
Expand Down
Loading