completion

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2025 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package completion provides shared utilities for completion management.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBashPath

func GetBashPath() (string, error)

GetBashPath returns the appropriate bash completion path.

func GetFishPath

func GetFishPath() (string, error)

GetFishPath returns the appropriate fish completion path.

func GetZshPath

func GetZshPath() (string, error)

GetZshPath returns the appropriate zsh completion path.

func Install

func Install(cmd *cobra.Command, shell string) error

Install installs completion files to appropriate system locations.

func Uninstall

func Uninstall(shell string) error

Uninstall removes completion files from the same locations where Install puts them.

func UninstallAll

func UninstallAll() error

UninstallAll removes completion files for all supported shells.

Types

This section is empty.

Jump to

Keyboard shortcuts

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