Versions in this module Expand all Collapse all v0 v0.22.0 Aug 26, 2026 Changes in this version + const ConfigFileName + const DefaultAPIURL + const DefaultAnalytics + const DefaultColor + const DefaultConsoleURL + const DefaultDocsMCP + const DefaultDocsMCPURL + const DefaultGatewayURL + const DefaultMCPMaxRows + const DefaultOutput + const DefaultPasswordStorage + const DefaultReadOnly + const DefaultReleasesURL + const DefaultVersionCheck + const TigerCLIClientID + var BuildTime = "unknown" + var ErrNotLoggedIn = errors.New("not logged in") + var GitCommit = "unknown" + var Version = "dev" + func GetConfigFile(dir string) string + func GetDefaultConfigDir() string + func GetServiceName() string + func SetTestServiceName(t *testing.T) + func ValidConfigOptionValues(key string) []string + func ValidConfigOptions() []string + func ValidOutputFormats(extra ...string) []string + func ValidPasswordStorageOptions() []string + func ValidateOutputFormat(format string, extra ...string) error + type Config struct + APIURL string + Analytics bool + Color bool + ConfigDir string + ConsoleURL string + DocsMCP bool + DocsMCPURL string + GatewayURL string + MCPMaxRows int + Output string + PasswordStorage string + ReadOnly bool + ReleasesURL string + ServiceID string + VersionCheck bool + func Load(flags *pflag.FlagSet) (*Config, error) + func UseTestConfig(configDir string, values map[string]any) (*Config, error) + func (c *Config) EnsureConfigDir() (string, error) + func (c *Config) GetConfigFile() string + func (c *Config) GetStoredCredentials() (*Credentials, error) + func (c *Config) RemoveCredentials() error + func (c *Config) Reset() error + func (c *Config) Set(key, value string) error + func (c *Config) StoreCredentials(apiKey, projectID string) error + func (c *Config) StoreCredentialsToFile(apiKey, projectID string) error + func (c *Config) StoreOAuthCredentials(token *oauth2.Token, projectID string) error + func (c *Config) Unset(key string) error + type ConfigOutput struct + APIURL *string + Analytics *bool + Color *bool + ConfigDir *string + ConsoleURL *string + DocsMCP *bool + DocsMCPURL *string + GatewayURL *string + MCPMaxRows *int + Output *string + PasswordStorage *string + ReadOnly *bool + ReleasesURL *string + ServiceID *string + VersionCheck *bool + func LoadForOutput(configDir string, withEnv bool, noDefaults bool) (*ConfigOutput, error) + type Credentials struct + APIKey string + OAuth *oauth2.Token + ProjectID string