espanso
espanso copied to clipboard
add/remove/update matches with cli
Description
espanso match add <TRIGGER> <REPLACEMENT> --set <FILE=base.yml>
asks before overwriting existing trigger
espanso match edit <TRIGGER> <REPLACEMENT> --set <FILE=all>
same as add but doesn't ask before overwriting
espanso match remove <TRIGGER> --set <FILE=all>
Motivation
scripting, i.e. for a raycast command. ease of use for commandline junkies :)
Alternatives
No response
Have you tried building it? Or would you like it?
- [ ] I'd be willing to contribute this feature to Espanso myself.
Where did you get espanso match add? AFAIK, it's not part of the code, which is why I wrote my own script.
Ah, it's an enhancement request! Sorry - should have read the Labels 😦
@smeech :) very interesting your script...