versionFlag

command
v0.0.0-...-497d84b Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: Unlicense Imports: 3 Imported by: 0

Documentation

Overview

The default version flag(-v/--version) is defined as cli.VersionFlag To run this example, open a terminal and execute the following lines: $ go install versionFlag.go $ versionFlag -V

Alternatively, the version printer at cli.VersionPrinter may be overriden To run this example, open a terminal and execute the following lines: $ go install versionFlag2.go $ versionFlag2 -v/--version

Jump to

Keyboard shortcuts

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