completion

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package completion implements shell completion commands for bcli.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Shell string `arg:"" enum:"zsh,bash,fish" help:"Shell to generate completions for"`
}

Command prints shell completion definitions for supported shells.

func (*Command) Run

func (c *Command) Run(ctx *kong.Context) error

Run writes the requested shell completion script to stdout.

Jump to

Keyboard shortcuts

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