version

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ArgHelp = `
    version does not take any arguments`

ArgHelp is the suffix text that will be displayed after the argument list in the module help

View Source
var Args = flag.NewFlagSet("version", flag.ExitOnError)

Args is a flagset that needs to be exported so that it can be written to the main program help

View Source
var Usage = `
USAGE: %s version

version:
    Returns the version of the sda-cli tool.
`

Usage text that will be displayed as command line help text when using the `help version` command

Functions

func Version

func Version(ver string) error

Returns the version of the sda-cli tool.

Types

This section is empty.

Jump to

Keyboard shortcuts

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