Documentation
¶
Index ¶
- func AWFConfigDir() string
- func AWFDataDir() string
- func AWFLogsDir() string
- func AWFPluginsDir() string
- func AWFPromptsDir() string
- func AWFScriptsDir() string
- func AWFStatesDir() string
- func AWFWorkflowsDir() string
- func ConfigHome() string
- func DataHome() string
- func LegacyDirExists() bool
- func LocalConfigPath() string
- func LocalPluginsDir() string
- func LocalPromptsDir() string
- func LocalWorkflowsDir() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AWFConfigDir ¶
func AWFConfigDir() string
AWFConfigDir returns the AWF config directory ($XDG_CONFIG_HOME/awf)
func AWFDataDir ¶
func AWFDataDir() string
AWFDataDir returns the AWF data directory ($XDG_DATA_HOME/awf)
func AWFPluginsDir ¶
func AWFPluginsDir() string
AWFPluginsDir returns the global plugins directory ($XDG_DATA_HOME/awf/plugins)
func AWFPromptsDir ¶
func AWFPromptsDir() string
AWFPromptsDir returns the global prompts directory ($XDG_CONFIG_HOME/awf/prompts)
func AWFScriptsDir ¶
func AWFScriptsDir() string
AWFScriptsDir returns the global scripts directory ($XDG_CONFIG_HOME/awf/scripts)
func AWFWorkflowsDir ¶
func AWFWorkflowsDir() string
AWFWorkflowsDir returns the global workflows directory
func ConfigHome ¶
func ConfigHome() string
ConfigHome returns XDG_CONFIG_HOME or defaults to ~/.config
func LegacyDirExists ¶
func LegacyDirExists() bool
LegacyDirExists checks if the old ~/.awf directory exists
func LocalConfigPath ¶
func LocalConfigPath() string
LocalConfigPath returns the local project config file path. It checks AWF_CONFIG_PATH environment variable first, then defaults to ".awf/config.yaml".
func LocalPluginsDir ¶
func LocalPluginsDir() string
LocalPluginsDir returns the local project plugins directory
func LocalPromptsDir ¶
func LocalPromptsDir() string
LocalPromptsDir returns the local project prompts directory
func LocalWorkflowsDir ¶
func LocalWorkflowsDir() string
LocalWorkflowsDir returns the local project workflows directory
Types ¶
This section is empty.