LinuxCommandLibrary

go-fish

fish shell completion generator for Go programs

TLDR

Generate fish completions

$ go-fish
copy
Specific package completions
$ go-fish [package]
copy

SYNOPSIS

go-fish [package]

DESCRIPTION

go-fish generates fish shell completions for Go programs. It analyzes Go command-line flag definitions and creates fish completion scripts.
The tool automates completion script generation from Go source code. It uses Go's flag package conventions to identify commands and options.

PARAMETERS

PACKAGE

Package to generate completions for.
--help
Display help information.

CAVEATS

Requires Go flags package usage. Fish shell specific. May need customization.

HISTORY

go-fish was created to automate fish shell completion generation for Go command-line applications.

SEE ALSO

go(1), fish(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community