cmd

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the program version
	Version = "dev"
	// CommitHash is the Git commit hash at build time
	CommitHash = "none"
	// BuildDate is the build date
	BuildDate = "unknown"
)
View Source
var ErrMockBrowser = errors.New("mock browser error")

ErrMockBrowser is used for testing browser errors

View Source
var OpenURLInBrowser = browser.OpenURL

OpenURLInBrowser is exported for testing

Functions

func Execute

func Execute() error

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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