cmd

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func IsJSONOutput added in v0.3.0

func IsJSONOutput() bool

IsJSONOutput returns true if JSON output is requested

func LoadConfigWithOverrides added in v0.2.8

func LoadConfigWithOverrides() (*config.Config, error)

LoadConfigWithOverrides loads configuration with command-line overrides

func ShouldShowTips added in v0.3.0

func ShouldShowTips() bool

ShouldShowTips returns true if tips should be displayed to the user

Types

type HealthCheckResult added in v0.3.12

type HealthCheckResult struct {
	DatabaseName     string   `json:"database_name"`
	DatabaseType     string   `json:"database_type"`
	Healthy          bool     `json:"healthy"`
	Message          string   `json:"message"`
	URL              string   `json:"url,omitempty"`
	Collections      []string `json:"collections,omitempty"`
	CollectionsCount int      `json:"collections_count"`
}

HealthCheckResult represents the result of a health check

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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