cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VersionCmd

func VersionCmd(pName string) *cobra.Command

VersionCmd returns the Cobra Command for Version

Types

type Main

type Main struct {
	ProgramName string
	Version     string
	// contains filtered or unexported fields
}

func NewMain

func NewMain(pName, version string) *Main

func (*Main) Cmd

func (m *Main) Cmd() *cobra.Command

func (*Main) Execute

func (m *Main) Execute()

Directories

Path Synopsis
ca
csp
msp

Jump to

Keyboard shortcuts

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