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

info

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "Print runtime environment"

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(_ *config.Config, globals *flags.Options) *cli.Command

NewCommand creates a new info command. The verbosity dial is the shared -v: here it lists every bound function, class and method under the summary. The configuration is what every command constructor takes, so one signature covers all of them. This command reads it through globals, which main fills from the configuration before any command is built.

func Run

func Run(ctx context.Context, args []string, opts Options) error

Types

type Options

type Options struct {
	Verbose bool
}

Jump to

Keyboard shortcuts

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