completion

package
v0.0.0-...-3266887 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 2 more Imports: 5 Imported by: 0

Documentation

Overview

Package completion output shell completion code for the specified shell (bash or zsh).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCompletion

func NewCmdCompletion(out io.Writer, boilerPlate string) *cobra.Command

NewCmdCompletion creates the `completion` command.

func RunCompletion

func RunCompletion(out io.Writer, boilerPlate string, cmd *cobra.Command, args []string) error

RunCompletion checks given arguments and executes command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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