Categorygithub.com/pjmp/commandlinefu
modulepackage
1.5.2
Repository: https://github.com/pjmp/commandlinefu.git
Documentation: pkg.go.dev

# README

logo

commandlinefu Git tags Go Reference

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

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

# Functions

No description provided by the author
No description provided by the author
NewCli Initialize a new instance of `Cli`.
NewUrls Return an instance of `Urls`.

# Constants

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
Cli Represent our cli as a struct.
Urls to interact with commandlinefu.com.