cmd

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

Package cmd implements all mnemo CLI commands using cobra.

Command tree:

mnemo index       — Scan and index AI tool session history
mnemo search      — Full-text search across all indexed sessions
mnemo recent      — List recent sessions
mnemo context     — Generate markdown context summary for a project
mnemo blocks      — Show 5-hour usage windows (Claude rate limit tracking)
mnemo projects    — Manage tracked project directories
mnemo add         — Index documentation/notes as a knowledge source
mnemo tools       — Detect installed AI coding tools
mnemo serve       — Start MCP server for Claude Desktop/Code integration
mnemo install     — Install plugins for Claude Code/Desktop and OpenCode
mnemo onboarding  — Run the interactive first-run experience
mnemo configure   — Set context injection mode (off/helper/assistant)
mnemo version     — Print version info

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "1.2.0"
	BuildDate = "2026-02-07"
	GitCommit = "dev"
)

Build-time variables, overridden via -ldflags during goreleaser builds.

Functions

func Execute

func Execute()

Types

type AITool

type AITool struct {
	Name     string
	Path     string
	Format   string
	Detected bool
}

AITool describes a supported AI coding assistant and the filesystem path where it stores conversation history.

type OpenCodeSessionMeta

type OpenCodeSessionMeta struct {
	Title     string
	Directory string
	Version   string
}

OpenCodeSessionMeta holds resolved metadata for an OpenCode session file.

type Tool

type Tool struct {
	Name      string
	Path      string
	Installed bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL