Documentation
¶
Overview ¶
Package cmd implements the OpenPass CLI commands using Cobra.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "dev"
Version is set at build time via -ldflags. Defaults to "dev".
Functions ¶
func PrintJSON ¶
func PrintJSON(v interface{})
PrintJSON outputs the given value as JSON to stdout. JSON encoding errors are written to stderr.
func SetVersionInfo ¶
func SetVersionInfo(version, commit, date string)
SetVersionInfo is called from main to inject build-time values.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.