Movatterモバイル変換


[0]ホーム

URL:


internal

package
v1.92.2Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License:BSD-3-ClauseImports:6Imported by:0

Details

Repository

github.com/tailscale/tailscale

Links

Documentation

Overview

Package internal contains internal code for the ffcomplete package.

Index

Constants

This section is empty.

Variables

View Source
var (CompleteCmds  map[*ffcli.Command]CompleteFuncCompleteFlags map[*flag.Flag]CompleteFunc)

Functions

funcComplete

func Complete(root *ffcli.Command, args []string, startFlags, descsbool) (words []string, dircobra.ShellCompDirective, errerror)

Complete returns the autocomplete suggestions for the root program and args.

The returned words do not necessarily need to be prefixed with the last argwhich is being completed. For example, '--bool-flag=' will have completions'true' and 'false'.

"HIDDEN: " is trimmed from the start of Flag Usage's.

Types

typeCompleteFunc

type CompleteFunc func([]string) ([]string,cobra.ShellCompDirective,error)

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp