package
0.0.0-20241116165817-883d5d7d379c
Repository: https://github.com/ddkwork/toolbox.git
Documentation: pkg.go.dev
# Functions
Copyright returns the copyright notice.
LongVersion returns a combination of the app version and the build number.
New creates a new CmdLine.
Parse a command line string into its component parts.
ResolveCopyrightYears resolves the copyright years.
ShortVersion returns the app version.
# Variables
AppCmdName holds the application's name as specified on the command line.
AppIdentifier holds the uniform type identifier (UTI) for the application.
AppName holds the name of the application.
AppVersion holds the application's version information.
BuildNumber holds the build number.
CopyrightEndYear holds the ending year to place in the copyright banner.
CopyrightHolder holds the name of the copyright holder.
CopyrightStartYear holds the starting year to place in the copyright banner.
CopyrightYears holds the years to place in the copyright banner.
GitVersion holds the vcs revision and clean/dirty status.
License holds the license the software is being distributed under.
VCSModified is true if the "vcs.modified" build tag is true.
# Structs
CmdLine holds information about the command line.
GeneralValue holds a general option value.
Option represents an option available on the command line.
# Type aliases
Options represents a set of options.