preview

package
v0.3.22 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package preview renders the fzf preview pane for goplexcli media items. It is invoked as a hidden subcommand of the main binary so users only need to install one executable.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(out io.Writer, dataFile, indexStr string) error

Run reads the JSON data file, looks up the item at index, and writes the formatted preview to out. Returns an error suitable for surfacing in fzf's preview pane (also rendered to out so the user sees it).

Types

This section is empty.

Jump to

Keyboard shortcuts

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