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.

      Source Files