Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Long term memory for short term Unix commands. A tool for storing and running customized commands.

License

patmigliaccio/mann

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mann

Your personal man pages

A command-line interface tool for storing and running customized commands.

Install

$ go get github.com/patmigliaccio/mann

Usage

Retrieve

$ mann service

#   Name: service
#
#   Commands:
#   1.      service --status-all
#   2.      service --status-all | grep -E 'httpd|vsftpd'

Add

Store a command including any flags and predicates for reuse later.

$ mann add service --status-all

# Added: service --status-all

Using 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'

Run

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...

About

Long term memory for short term Unix commands. A tool for storing and running customized commands.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages