🐟 Redfish Command Cheatsheet

Quick reference for common commands and workflows

Installation

Install via Go

go install github.com/stanzinofree/redfish/cmd/redfish@latest

Basic Usage

Simple Search

redfish git commit

Search for git commit commands

Natural Language

redfish "how do i list docker containers"

Use natural language queries (NLP-like)

Italian Search

redfish -l it "voglio listare i docker"

Search in Italian with synonym expansion

Interactive Mode (fzf)

redfish -f kubernetes

Use fzf for interactive command selection

Configuration

Run Config Wizard

redfish -c

Interactive wizard to set default language and description mode

Description Display

redfish -d short git pull redfish -d long git pull redfish -d none git pull

Choose between short, long, or no descriptions

Show Version

redfish -v

Display version information

Show Help

redfish -h

Display help and usage information

Embedded Cheatsheets

Git Docker Kubernetes Kubectl Markdown KCSI

All cheatsheets available in English and Italian

Custom Cheatsheets

Add Your Own

Create ~/.redfish/{lang}/*.md files with your custom commands

mkdir -p ~/.redfish/en
echo "# My Commands..." > ~/.redfish/en/myapp.md

Enhanced Format (with descriptions):

## command name
**Tags**: tag1, tag2
**Keywords**: keyword1 keyword2
**Short_Description**: Brief one-line summary
**Long_Description**: Detailed explanation

```sh
command example
```

Note: Short_Description and Long_Description are optional. The old format (plain description) still works.

Advanced Features

Stopwords Filtering

Automatically removes common words like "how", "do", "i", "want" from queries

Synonym Expansion

Expands search terms with synonyms and verb forms (listare↔list, docker↔container)

Smart AND Logic

Multi-word searches require 70% token coverage for precise results

Weighted Scoring

Title matches (10pt) > Tags (5pt) > Keywords (3pt) > Description (1pt)