args

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	Version       model.Semver
	Major         string
	Minor         string
	Patch         string
	Prerelease    string
	BuildMetadata string
}

Args represents the command line arguments for the executable

func ParseArgs

func ParseArgs() (*Args, error)

ParseArgs handles the command line arguments

func (*Args) Process

func (a *Args) Process() error

Process executes the specified operation on each of the command line arguments

Jump to

Keyboard shortcuts

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