Documentation ¶
Index ¶
Constants ¶
const ( FilterTypeBlock = "FILTER_TYPE_BLOCK" FilterTypeDocument = "FILTER_TYPE_DOCUMENT" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Dir- or git-based project fields. ProjectDir string FindRepoUpward bool IgnorePaths []string DisableGitignore bool // Filemode fields. Filename string // Environment variable fields. UseSystemEnv bool EnvSourceFiles []string Filters []*Filter // Log related fields. LogEnabled bool LogPath string LogVerbose bool }
Config is a uniform configuration structure for runme. It should unify all past, current, and future config proto versions.
type FilterBlockEnv ¶
type FilterBlockEnv struct { Background bool `expr:"background"` Categories []string `expr:"categories"` CloseTerminalOnSuccess bool `expr:"close_terminal_on_success"` Cwd string `expr:"cwd"` ExcludeFromRunAll bool `expr:"exclude_from_run_all"` Interactive bool `expr:"interactive"` Language string `expr:"language"` Name string `expr:"name"` PromptEnv bool `expr:"prompt_env"` }
FilterBlockEnv is the environment with fields corresponding to the options documented on https://docs.runme.dev/configuration/cell-level. Cell options are converted to this environment before evaluating the filter.
The `expr` tag is used to map the field to the corresponding option. Without it, all variables start with capitalized letters.
type FilterDocumentEnv ¶
FilterDocumentEnv is the environment with fields corresponding to the options documented on https://docs.runme.dev/configuration/document-level. Document options are converted to this environment before evaluating the filter.
Directories ¶
Path | Synopsis |
---|---|
autoconfig provides a way to instantiate and configure objects like logger, project, session, and others.
|
autoconfig provides a way to instantiate and configure objects like logger, project, session, and others. |