espanso icon indicating copy to clipboard operation
espanso copied to clipboard

add/remove/update matches with cli

Open grafst opened this issue 8 months ago • 2 comments

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.

grafst avatar May 06 '25 08:05 grafst

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 avatar May 06 '25 09:05 smeech

@smeech :) very interesting your script...

grafst avatar May 06 '25 11:05 grafst