Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@fpankretic
Copy link
Contributor

#35

@fpankretic
Copy link
Contributor Author

No test were added, USAGE.md wasn't updated. If needed I can update PR with those or anything else needed.

Copy link
Owner

@bmwant bmwant left a comment

Choose a reason for hiding this comment

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

Looks fine, please add tests (at least for cli invocation with a new command) and you can update readme as well.

)

def restart(self, hap: Hap):
hid, name, cmd = hap.hid, hap.name, hap.cmd
Copy link
Owner

Choose a reason for hiding this comment

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

maybe name should contain -restarted suffix or something to have some hint for the user? wdyt

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm, I would maybe personally prefer it without a suffix. If needed, some flag like --suffix or --no-suffix can be added.

@bmwant
Copy link
Owner

bmwant commented Oct 1, 2024

@fpankretic thanks for your contribution!

@bmwant bmwant merged commit 60490bc into bmwant:main Oct 1, 2024
7 of 8 checks passed
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