Skip to content

refactor: convert locations:modes:(get|set)current commands to yargs#739

Merged
rossiam merged 1 commit intoSmartThingsCommunity:yargsfrom
rossiam:yargs-locations-modes-get-set-current
May 20, 2025
Merged

refactor: convert locations:modes:(get|set)current commands to yargs#739
rossiam merged 1 commit intoSmartThingsCommunity:yargsfrom
rossiam:yargs-locations-modes-get-set-current

Conversation

@rossiam
Copy link
Copy Markdown
Collaborator

@rossiam rossiam commented May 20, 2025

  • converted locations:modes:getcurrent and locations:modes:setcurrent commands to yargs

@rossiam rossiam requested a review from a team May 20, 2025 16:21
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 20, 2025

⚠️ No Changeset found

Latest commit: cece7c8

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

'set the specified mode to be current for its location',
],
])
.epilog(apiDocsURL('createMode'))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the correct URL for setting a mode?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, it should be changeMode. Fixed now.

@rossiam rossiam force-pushed the yargs-locations-modes-get-set-current branch from 9441a62 to 6a9c246 Compare May 20, 2025 17:16
@rossiam rossiam force-pushed the yargs-locations-modes-get-set-current branch from 6a9c246 to cece7c8 Compare May 20, 2025 17:18
@rossiam rossiam merged commit b747e41 into SmartThingsCommunity:yargs May 20, 2025
4 checks passed
@rossiam rossiam deleted the yargs-locations-modes-get-set-current branch May 20, 2025 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants