cmd

package
Version: v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultIntercertDir is the directory for where to store all data related to intercert
	DefaultIntercertDir = constructDir()
	// Version is the human readable version of intercert
	Version string
	// Commit is the git commit used to build this version
	Commit string
)

Functions

func Execute

func Execute(version string, commit string)

Execute the cmd chain

func PrintErrorAndExit

func PrintErrorAndExit(err error)

PrintErrorAndExit logs a fatal error and exits the process with return code 1

func UserAgent

func UserAgent() string

UserAgent returns a formatted user agent (UA) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL