A command-line interface tool for storing and running customized commands.
$ go get github.com/patmigliaccio/mann$ mann service
# Name: service
#
# Commands:
# 1. service --status-all
# 2. service --status-all | grep -E 'httpd|vsftpd'Store a command including any flags and predicates for reuse later.
$ mann add service --status-all
# Added: service --status-allUsing quotes allows for the addition of more complex commands such as pipes.
$ mann add "service --status-all | grep -E 'httpd|vsftpd'"
# Added: service --status-all | grep -E 'httpd|vsftpd'Execute a command by passing the list item number.
$ mann run service 2
# service --status-all | grep -E 'httpd|vsftpd'
# httpd (pid 2301) is running...
# vsftpd (pid 14070 2061) is running...