super

command module
v0.0.0-...-a80e15b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2015 License: MIT Imports: 12 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL