cmd

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2026 License: MIT Imports: 34 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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