root

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HelpTopics = map[string]map[string]string{
	"environment": {
		"short": "Environment variables that can be used with bendsql",
		"long": heredoc.Doc(`
			BENDSQL_CONFIG_DIR: the directory where bendsql will store configuration files. Default:
			"$HOME/.config/bendsql".
		`),
	},
	"reference": {
		"short": "A comprehensive reference of all bendsql commands",
	},
}

Functions

func HasFailed

func HasFailed() bool

HasFailed signals that the main process should exit with non-zero status

func NewCmdRoot

func NewCmdRoot(f *cmdutil.Factory, version, buildDate string) *cobra.Command

func NewHelpTopic

func NewHelpTopic(ios *iostreams.IOStreams, topic string) *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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