Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/t9md/cmdline-fu
simple CLI front-end for http://www.commandlinefu.com/
https://github.com/t9md/cmdline-fu
Last synced: 15 days ago
JSON representation
simple CLI front-end for http://www.commandlinefu.com/
- Host: GitHub
- URL: https://github.com/t9md/cmdline-fu
- Owner: t9md
- License: mit
- Created: 2010-12-29T08:46:12.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2011-01-21T18:17:38.000Z (almost 14 years ago)
- Last Synced: 2024-10-18T03:09:33.611Z (27 days ago)
- Homepage:
- Size: 102 KB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
cmdline-fu
====================
CLI based front end for [ commandlinefu ]( http://www.commandlinefu.com/ ).
commandlinefu is community based repository for usefull commandline such as one-liner or complex `find`, `openssl`, `mysql`... command.This script scrape available TAG from site's top page with `hpricot` for supporting query based on TAG.
TAGS file are stored to `~/.cmdline-fu.tags`.Install
----------------------------------
gem install cmdline-fuSample Configuration("~/.cmdline-fu.conf")
----------------------------------
{
#--------------------------------------------------------
# Proxy setting. you can overwrite this
# with HTTP_PROXY environment variable
#--------------------------------------------------------
# :http_proxy_ => 'http://192.168.1.1:3128',#--------------------------------------------------------
# Disable colorized output
#--------------------------------------------------------
#:colorize => false,#--------------------------------------------------------
# Supported colors are...
# black red green yellow blue magenta cyan white
#--------------------------------------------------------
:color_match => 'yellow',
:color_desc => 'cyan',
:color_footer => 'green',#--------------------------------------------------------
# Web Browser command used such as 'cmdline-fu browse o'.
#--------------------------------------------------------
# for linux
:browse_cmd => 'firefox',
# :browse_cmd => 'google-chrome',
# Mac OSX's default
# :browse_cmd => 'open',
}Usage
----------------------------------cmdline-fu COMMAND [PAGE] [o] [-n]
COMMAND: list_tag [MATCHER], browse, using WORD, by USER, tagged TAG, matching WORD
PAGE: 1-999 (defaut: 1)
o: open in browser
-n: not colorizeExample
----------------------------------
cmdline-fu renew_tag
cmdline-fu list_tag
cmdline-fu list_tag vm
cmdline-fu browse
cmdline-fu browse o
cmdline-fu using find
cmdline-fu by t9md
cmdline-fu tagged install
cmdline-fu matching findAbbreviation
----------------------------------
Unique abbreviation for command is supported.cmdline-fu r
cmdline-fu l
cmdline-fu l vm
cmdline-fu br
cmdline-fu u find 2
cmdline-fu u find 2 o
cmdline-fu by t9md
cmdline-fu t install
cmdline-fu m findCopyright
====================
Copyright (c) 2010 t9md. See LICENSE.txt for
further details.