cmdutil

package
v1.23.6-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetConfigDataLocationsFromFlags

func SetConfigDataLocationsFromFlags(homeDir, confDir, dataDir string) error

Types

type CommonOptions added in v1.18.5

type CommonOptions struct {
	ConfDir         string `name:"config" placeholder:"PATH" help:"Set configuration directory (config and keys)"`
	HomeDir         string `name:"home" placeholder:"PATH" help:"Set configuration and data directory"`
	NoDefaultFolder bool   `env:"STNODEFAULTFOLDER" help:"Don't create the \"default\" folder on first startup"`
	SkipPortProbing bool   `help:"Don't try to find free ports for GUI and listen addresses on first startup"`
	// contains filtered or unexported fields
}

CommonOptions are reused among several subcommands

Jump to

Keyboard shortcuts

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