list

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(opts Options) error

Run scans sessions, optionally filters them by grep query, and writes TSV rows to opts.Out.

Types

type Options

type Options struct {
	Grep string
	// ExcludeDir drops sessions whose cwd (or basename, when cwd is empty)
	// contains this substring, case-insensitive. Empty disables the filter.
	ExcludeDir string
	Regex      bool
	NoColor    bool
	// Color overrides auto-detection: "always", "never", or "" (auto).
	// --no-color and NO_COLOR still force off when Color is empty/auto.
	Color string
	Out   io.Writer
}

Options controls list output.

Jump to

Keyboard shortcuts

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