Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigWriteTarget ¶
ConfigWriteTarget returns a fresh Viper instance for a userspace baseline or sparse project override without writing the fully merged runtime config.
func FileExists ¶
func KeybindingsConfigWritePath ¶
getKeybindingsConfigWritePath returns the path to write keybindings to. Keybindings are a userspace-only concern, so writes target ~/.infer/ by default; --project (toProject) opts into a project-level override instead.
func PluginsConfigPath ¶
func PluginsConfigPath() string
getPluginsConfigPath returns the path of the plugins registry. Plugins are userspace-only, so unlike other sidecars there is no project-first search.
func ProjectFlag ¶
GetProjectFlag checks for the --project flag on the current command or any parent command. Userspace-first model (issue #680): config writes target the home ~/.infer/ baseline by default; --project opts into a project override.
Types ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
State owns configuration and logging initialized for one Cobra command tree. Cobra executes initialization before RunE, so no synchronization is needed.
func (*State) ConfigureDaemonLogging ¶
func (s *State) ConfigureDaemonLogging()
func (*State) DisableStdoutLogging ¶
func (s *State) DisableStdoutLogging()