refactor(subscriptions): ensure consistent naming

This commit renames add-subscriber and remove-subscriber to subscribe
and unsubscribe for more semantic consistency in command names, as well
as improving and fixing the cli documentation for these commands.

@denBot's example of how to create named pipes and subscribe to events
has also been added to the readme.
This commit is contained in:
LGUG2Z
2021-10-25 12:08:13 -07:00
parent 6ae59671a2
commit 6c53fd7830
3 changed files with 24 additions and 19 deletions

View File

@@ -16,12 +16,12 @@ Query(state_query) {
Run, komorebic.exe query %state_query%, , Hide
}
AddSubscriber(named_pipe) {
Run, komorebic.exe add-subscriber %named_pipe%, , Hide
Subscribe(named_pipe) {
Run, komorebic.exe subscribe %named_pipe%, , Hide
}
RemoveSubscriber(named_pipe) {
Run, komorebic.exe remove-subscriber %named_pipe%, , Hide
Unsubscribe(named_pipe) {
Run, komorebic.exe unsubscribe %named_pipe%, , Hide
}
Log() {