completion

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: 0BSD Imports: 4 Imported by: 0

Documentation

Overview

Package completion renders deterministic shell completion scripts.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(shell Shell, ruleIDs []string) ([]byte, error)

Render returns one complete completion script for shell. Rule IDs are validated and ordered before interpolation into shell-owned word lists.

Types

type Shell

type Shell string

Shell identifies one supported completion-script dialect.

const (
	Bash Shell = "bash"
	Zsh  Shell = "zsh"
	Fish Shell = "fish"
)

Jump to

Keyboard shortcuts

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