Documentation
¶
Index ¶
- Constants
- func GetValue(workingDir, dottedPath string) (any, string, error)
- func KnownPaths() []string
- func ProjectSettingsPath(workingDir string) string
- func UserSettingsPath() string
- func WriteValue(scope WriteScope, workingDir, dottedPath string, value any) error
- type Experimental
- type Hooks
- type MCPSettings
- type PluginSettings
- type Resolved
- type ResolvedField
- type Settings
- type Source
- type WriteScope
Constants ¶
View Source
const ( UserSettingsDirName = ".arara" UserSettingsFileName = "settings.json" ProjectSettingsDirName = ".arara" ProjectSettingsFileName = "settings.json" SourceDefault = "default" SourceUser = "user" SourceProject = "project" )
Variables ¶
This section is empty.
Functions ¶
func KnownPaths ¶
func KnownPaths() []string
func ProjectSettingsPath ¶
func UserSettingsPath ¶
func UserSettingsPath() string
func WriteValue ¶
func WriteValue(scope WriteScope, workingDir, dottedPath string, value any) error
Types ¶
type Experimental ¶
type Experimental struct {
OAuth bool `json:"oauth,omitempty"`
}
type MCPSettings ¶
type MCPSettings struct {
AllowWriteTools bool `json:"allowWriteTools,omitempty"`
}
type PluginSettings ¶
type Resolved ¶
type Resolved struct {
Settings Settings
Fields []ResolvedField
Sources []Source
}
type ResolvedField ¶
type Settings ¶
type Settings struct {
Theme string `json:"theme,omitempty"`
Output string `json:"output,omitempty"`
Hooks Hooks `json:"hooks,omitempty"`
Plugins PluginSettings `json:"plugins,omitempty"`
MCP MCPSettings `json:"mcp,omitempty"`
HookTimeoutSeconds int `json:"hookTimeoutSeconds,omitempty"`
Experimental Experimental `json:"experimental,omitempty"`
}
type WriteScope ¶
type WriteScope string
const ( ScopeUser WriteScope = "user" ScopeProject WriteScope = "project" )
Click to show internal directories.
Click to hide internal directories.