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

cli

package
v0.0.34 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI struct {
	// contains filtered or unexported fields
}

CLI encapsulates the command-line interface with its dependencies.

func New

func New(version string) *CLI

New creates a new CLI instance with the given version string.

func (*CLI) Run

func (c *CLI) Run() error

Run executes the CLI and returns any error.

Jump to

Keyboard shortcuts

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