cmd

package
v2.0.0-alpha3+incompat... Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsURL

func IsURL(u string) bool

IsURL returns whether or not a string is a URL

func MustHomeDir

func MustHomeDir() string

MustHomeDir returns the home directory of the user

func MustIsDir

func MustIsDir(filePath string) bool

MustIsDir returns whether or not the given filePath is a directory. Exits if path does not exist

func NewVersionCmd

func NewVersionCmd(cliName string) *cobra.Command

NewVersionCmd returns a new `version` command to be used as a sub-command to root

Types

This section is empty.

Jump to

Keyboard shortcuts

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