root

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 18 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