Illedan/OpenRepo

Generic commands accepting wildcards

Illedan opened this issue · 0 comments

Usecase:
JIRA
config:

generic:
    ID https://jira.com/browse/BUG-{ID}
    "ID ID2" https://jira.com/browse/BUG-{ID}-{ID2}

Writing 12345 would filter out all commands and only keep this command (which is always in the list, but always last if there are multiple)
Pressing Enter would replace ID with the number and navigating the user to the url. Replacing is based on the order in front of the final segment. (use " to make a space part segment)