mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-23 00:58:37 +02:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user