Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigDir ¶
func ConfigDir() string
ConfigDir returns the configuration directory for bb. Uses XDG_CONFIG_HOME if set, otherwise ~/.config/bb/
func ConfigFilePath ¶
func ConfigFilePath() string
ConfigFilePath returns the full path to the config file.
func CredentialsFilePath ¶
func CredentialsFilePath() string
CredentialsFilePath returns the full path to the credentials file.
func EnsureConfigDir ¶
func EnsureConfigDir() error
EnsureConfigDir creates the config directory if it doesn't exist.
Types ¶
type Config ¶
type Config struct {
DefaultWorkspace string `yaml:"default_workspace,omitempty"`
DefaultFormat string `yaml:"default_format,omitempty"` // "table" or "json"
Editor string `yaml:"editor,omitempty"`
}
Config holds the application configuration.
Click to show internal directories.
Click to hide internal directories.