console

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(options ...OptionFunc) error

Types

type OptionFunc

type OptionFunc func(options *Options)

func Arguments

func Arguments(args []string) OptionFunc

func BuildTime

func BuildTime(buildTime string) OptionFunc

func Version

func Version(version string) OptionFunc

type Options

type Options struct {
	Version   string
	BuildTime string
	Arguments []string
	DryRun    bool
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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