version

package
v0.0.0-...-e652847 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd(cmd *cobra.Command, args []string)

Cmd implements default a cobra.Command 'Run' function that displays the version or usage depending on the flags

func InitFlags

func InitFlags(flags *flag.FlagSet)

InitFlags add --version and --full-version to the flags

Types

This section is empty.

Jump to

Keyboard shortcuts

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