SmartThingsCommunity / smartthings-cli

Command-line Interface for the SmartThings APIs.
https://developer.smartthings.com/docs/sdks/cli/introduction
Apache License 2.0
241 stars 104 forks source link

refactor: split basic-io module into a module for each method #636

Closed rossiam closed 1 month ago

rossiam commented 1 month ago

The main purpose of this change is to make writing pre-built mocks for the functions in the basic-io module (which are used a lot) easier.

Also includes lots of little refactors (I'm sure I missed some of these but this is a good start and I didn't touch files I wasn't touching already anyway):

changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: dac14df457558cb0d7551bc0b63a512f12549d59

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR