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

rootflagnames

package
v0.33.21 Latest Latest
Warning

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

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

Documentation

Overview

Package rootflagnames holds the persistent-flag names of the `d8 cr` root command in one place. Both the producer (cmd/rootflags.go, where the flags are registered) and the consumers (e.g. cmd/completion, which re-reads them at completion time because PersistentPreRunE does not run during shell completion) must agree on the literal name strings - keeping them here prevents silent breakage on future renames.

Index

Constants

View Source
const (
	Verbose               = "verbose"
	Insecure              = "insecure"
	AllowNondistributable = "allow-nondistributable-artifacts"
	Platform              = "platform"
	Username              = "username"
	Password              = "password"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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