Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HostConnectivityTitle ¶
HostConnectivityTitle is the preferred heading for a host (User @ HostName), falling back to Host patterns when those directives are missing.
func InitProgram ¶
InitProgram returns a prepared tea.Program.
func IsConnectivityKey ¶
IsConnectivityKey reports whether key is part of the connectivity-focused tab.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the root Bubble Tea model for sshui.
type Options ¶
type Options struct {
Version string
Theme string
Editor string
ReadOnly bool // true: merged Include browse (see help); false: single-file editable
MirrorPath string // optional: after save, copy bytes here (expanded abs path)
AppConfigPath string // absolute path to sshui config.toml (not SSH config)
SSHHostsPath string // absolute path to the sshui ssh_hosts file
MainSSHConfigPath string // absolute path to the user's main ssh_config (for export wizard)
MainConfig *scfg.Config // parsed main ssh_config snapshot (bridge-stripped); nil if same as ssh_hosts or unreadable
OverlayPath string // absolute path to password_hosts.toml
Overlay *overlay.File // pre-loaded password overlay (nil = none)
BrowseMode string // initial browse mode: merged | openssh | password
AppConfig *appcfg.Config // pointer for saving wizard flags
ExportWizardNeeded bool // show the setup wizard on startup (config.toml missing)
}
Options carries theme and editor preferences (from ~/.config/sshui/config.toml).
Click to show internal directories.
Click to hide internal directories.