Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandSlice ¶
func ExpandSlice(ss []string, vars TemplateVars) ([]string, error)
Types ¶
type Agent ¶
type Agent struct {
Command string `toml:"command"`
Args []string `toml:"args"`
ResumeArgs []string `toml:"resume_args"`
Env map[string]string `toml:"env"`
IdleTimeout string `toml:"idle_timeout"`
}
func (Agent) IdleTimeoutDuration ¶
type Config ¶
type Config struct {
DefaultAgent string `toml:"default_agent"`
GitHubUsername string `toml:"github_username"`
BranchPrefix string `toml:"branch_prefix"`
FetchOnCreate bool `toml:"fetch_on_create"`
Keybindings Keybindings `toml:"keybindings"`
Notifications Notifications `toml:"notifications"`
Agents map[string]Agent `toml:"agents"`
}
func LoadOrDefault ¶
type Keybindings ¶
type Keybindings struct {
Prefix string `toml:"prefix"`
NewSession string `toml:"new_session"`
DeleteSession string `toml:"delete_session"`
Detach string `toml:"detach"`
SessionList string `toml:"session_list"`
NextSession string `toml:"next_session"`
PrevSession string `toml:"prev_session"`
ResumeSession string `toml:"resume_session"`
RenameSession string `toml:"rename_session"`
Search string `toml:"search"`
ScrollMode string `toml:"scroll_mode"`
Shell string `toml:"shell"`
}
type Notifications ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.