Introduction
commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.
commandlinefu
is an unofficial cli/repl client for commandlinefu.com, written in golang.
This uses both the provided official api and scrapes the website because the official api does not provide all features present in the website.
Demo
Installation
go get github.com/pjmp/commandlinefu
Usage
Usage of commandlinefu:
-preview-themes
Preview available themes
-query string
Command or question to search
-repl
Starts a commandlinefu repl (default true)
-theme value
Set syntax highlight theme
-version
Prints version information
TODO
- Save preferences in a setting file