Help us shape the future of Go! Take the 2026 Go Developer Survey

completions

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bash

type Bash struct{}

func (Bash) Description

func (Bash) Description() string

func (Bash) GetScript

func (Bash) GetScript() string

type Cmd

type Cmd struct {
	Bash *Bash `arg:"subcommand" help:"Generate autocompletion script for bash"`
	Zsh  *Zsh  `arg:"subcommand" help:"Generate autocompletion script for zsh"`
	Fish *Fish `arg:"subcommand" help:"Generate autocompletion script for fish"`
}

func (Cmd) Description

func (Cmd) Description() string

type Fish

type Fish struct{}

func (Fish) Description

func (Fish) Description() string

func (Fish) GetScript

func (Fish) GetScript() string

type ShellImpl

type ShellImpl interface {
	GetScript() string
}

type Zsh

type Zsh struct{}

func (Zsh) Description

func (Zsh) Description() string

func (Zsh) GetScript

func (Zsh) GetScript() string

Jump to

Keyboard shortcuts

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