Super
Super is a simple, WIP command line tool to launch programs based on user created patterns.
You can use Super to open URLs, run scripts or compile programs.
Super is based on tools like Plumber and Alfred.
Instalation
go get github.com/bastos/super
Create a TOML configuration file located at ~/.super.toml
.
Example
Rule:
[[rule]]
name = "Jira"
regex = "^SU\\-([0-9]*)$"
command = "open https://COMPANY.atlassian.net/browse/$0"
[[rule]]
name = "Github"
regex = "^gh\\:(.*)\\/(.*)$"
command = "open https://github.com/$1/$2"
Running:
super SB-3495
super gh:bastos/super
Using pipes:
echo "gh:bastos/super" | super
Verify you configuration
super --check