Documentation ¶
Index ¶
Constants ¶
View Source
const ( //GHReleasesURL is the GitHub API URL that lists all releases. GHReleasesURL = "https://api.github.com/repos/nerdalize/nerd/releases" //BuiltFromSourceVersion is the version when building form source (no real version). BuiltFromSourceVersion = "built.from.src" )
Variables ¶
View Source
var ( //ErrNotImplemented is returned when a function is not yet implemented ErrNotImplemented = errors.New("not yet implemented") )
Functions ¶
func VersionMessage ¶ added in v0.3.1
func VersionMessage(current string)
VersionMessage shows a message to the user if a new CLI version is available.
Types ¶
type PlainFormatter ¶ added in v0.2.3
type PlainFormatter struct { }
PlainFormatter is a Logrus formatter that only includes the log message.
type SemVer ¶ added in v0.3.1
SemVer is a semantic version.
func ParseSemVer ¶ added in v0.3.1
ParseSemVer parses a semantic version from string.
func (*SemVer) GreaterThan ¶ added in v0.3.1
GreaterThan checks if `s` is a greater semantic version than `other`
Directories ¶
Path | Synopsis |
---|---|
Package conf gives the CLI access to the nerd config file.
|
Package conf gives the CLI access to the nerd config file. |
service
|
|
Click to show internal directories.
Click to hide internal directories.