Documentation
¶
Index ¶
- func ConfigDir() string
- type AgentConfig
- type Config
- type ExtraAppDef
- type SideAppsConfig
- type State
- func (s *State) IsPreferred(projectDir, taskKey string) bool
- func (s *State) LoadProjectTasks(dir string) []StoredTask
- func (s *State) RecordProject(dir string)
- func (s *State) RemoveProject(dir string)
- func (s *State) Save() error
- func (s *State) SaveProjectTasks(dir string, tasks []StoredTask)
- func (s *State) TogglePreferred(projectDir, taskKey string)
- type StoredTask
- type TasksConfig
- type UIConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentConfig ¶
type Config ¶
type Config struct {
Agents map[string]AgentConfig `yaml:"agents"`
SideApps SideAppsConfig `yaml:"side_apps"`
UI UIConfig `yaml:"ui"`
Tasks TasksConfig `yaml:"tasks"`
}
func DefaultConfig ¶
func DefaultConfig() *Config
type ExtraAppDef ¶
type SideAppsConfig ¶
type State ¶
type State struct {
RecentProjects []string `yaml:"recent_projects"`
PreferredTasks map[string][]string `yaml:"preferred_tasks,omitempty"`
ProjectTasks map[string][]StoredTask `yaml:"project_tasks,omitempty"`
}
func (*State) IsPreferred ¶
func (*State) LoadProjectTasks ¶
func (s *State) LoadProjectTasks(dir string) []StoredTask
func (*State) RecordProject ¶
func (*State) RemoveProject ¶
func (*State) SaveProjectTasks ¶
func (s *State) SaveProjectTasks(dir string, tasks []StoredTask)
func (*State) TogglePreferred ¶
type StoredTask ¶
type StoredTask = task.StoredTask
StoredTask is re-exported for YAML serialization.
type TasksConfig ¶
type TasksConfig struct {
PackageManager string `yaml:"package_manager,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.