Documentation
¶
Index ¶
- type AutomergeModel
- type BackToMenuMsg
- type BranchesModel
- type CleanupModel
- type CloneModel
- type CommitModel
- type EnableWorkflowsModel
- type MenuModel
- type MenuSelectionMsg
- type MergePRsModel
- type MyPRsModel
- type PullRequestModel
- type RepoInfo
- type RepoSelectDoneMsg
- type RepoSelectModel
- type SaveHistoryMsg
- type StatusModel
- type TeamPRsModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutomergeModel ¶
type AutomergeModel struct {
// contains filtered or unexported fields
}
AutomergeModel handles the automerge flow. No repo selection — automatically discovers and processes all repos.
func NewAutomergeModel ¶
func NewAutomergeModel() AutomergeModel
func (AutomergeModel) Init ¶
func (m AutomergeModel) Init() tea.Cmd
func (AutomergeModel) Update ¶
func (m AutomergeModel) Update(msg tea.Msg) (AutomergeModel, tea.Cmd)
func (AutomergeModel) View ¶
func (m AutomergeModel) View() string
type BackToMenuMsg ¶
type BackToMenuMsg struct{}
BackToMenuMsg signals the root model to return to the menu.
type BranchesModel ¶
type BranchesModel struct {
// contains filtered or unexported fields
}
BranchesModel handles the branches view.
func NewBranchesModel ¶
func NewBranchesModel() BranchesModel
func (BranchesModel) Init ¶
func (m BranchesModel) Init() tea.Cmd
func (BranchesModel) Update ¶
func (m BranchesModel) Update(msg tea.Msg) (BranchesModel, tea.Cmd)
func (BranchesModel) View ¶
func (m BranchesModel) View() string
type CleanupModel ¶
type CleanupModel struct {
// contains filtered or unexported fields
}
CleanupModel handles the cleanup flow.
func NewCleanupModel ¶
func NewCleanupModel() CleanupModel
func (CleanupModel) Init ¶
func (m CleanupModel) Init() tea.Cmd
func (CleanupModel) Update ¶
func (m CleanupModel) Update(msg tea.Msg) (CleanupModel, tea.Cmd)
func (CleanupModel) View ¶
func (m CleanupModel) View() string
type CloneModel ¶
type CloneModel struct {
// contains filtered or unexported fields
}
CloneModel handles the clone flow.
func NewCloneModel ¶
func NewCloneModel() CloneModel
func (CloneModel) Init ¶
func (m CloneModel) Init() tea.Cmd
func (CloneModel) Update ¶
func (m CloneModel) Update(msg tea.Msg) (CloneModel, tea.Cmd)
func (CloneModel) View ¶
func (m CloneModel) View() string
type CommitModel ¶
type CommitModel struct {
// contains filtered or unexported fields
}
CommitModel handles the commit flow.
func NewCommitModel ¶
func NewCommitModel(recentMessages []string) CommitModel
func (CommitModel) Init ¶
func (m CommitModel) Init() tea.Cmd
func (CommitModel) Update ¶
func (m CommitModel) Update(msg tea.Msg) (CommitModel, tea.Cmd)
func (CommitModel) View ¶
func (m CommitModel) View() string
type EnableWorkflowsModel ¶
type EnableWorkflowsModel struct {
// contains filtered or unexported fields
}
EnableWorkflowsModel handles the enable-workflows flow.
func NewEnableWorkflowsModel ¶
func NewEnableWorkflowsModel() EnableWorkflowsModel
func (EnableWorkflowsModel) Init ¶
func (m EnableWorkflowsModel) Init() tea.Cmd
func (EnableWorkflowsModel) Update ¶
func (m EnableWorkflowsModel) Update(msg tea.Msg) (EnableWorkflowsModel, tea.Cmd)
func (EnableWorkflowsModel) View ¶
func (m EnableWorkflowsModel) View() string
type MenuModel ¶
type MenuModel struct {
// contains filtered or unexported fields
}
MenuModel is the main command picker.
func NewMenuModel ¶
func NewMenuModel() MenuModel
type MenuSelectionMsg ¶
type MenuSelectionMsg struct {
Command string
}
MenuSelectionMsg is sent when the user picks a command.
type MergePRsModel ¶
type MergePRsModel struct {
// contains filtered or unexported fields
}
MergePRsModel handles the merge-prs flow with batch + wait.
func NewMergePRsModel ¶
func NewMergePRsModel() MergePRsModel
func (MergePRsModel) Init ¶
func (m MergePRsModel) Init() tea.Cmd
func (MergePRsModel) Update ¶
func (m MergePRsModel) Update(msg tea.Msg) (MergePRsModel, tea.Cmd)
func (MergePRsModel) View ¶
func (m MergePRsModel) View() string
type MyPRsModel ¶ added in v1.5.4
type MyPRsModel struct {
// contains filtered or unexported fields
}
MyPRsModel handles the my-prs flow.
func NewMyPRsModel ¶ added in v1.5.4
func NewMyPRsModel() MyPRsModel
func (MyPRsModel) Init ¶ added in v1.5.4
func (m MyPRsModel) Init() tea.Cmd
func (MyPRsModel) Update ¶ added in v1.5.4
func (m MyPRsModel) Update(msg tea.Msg) (MyPRsModel, tea.Cmd)
func (MyPRsModel) View ¶ added in v1.5.4
func (m MyPRsModel) View() string
type PullRequestModel ¶
type PullRequestModel struct {
// contains filtered or unexported fields
}
PullRequestModel handles the PR creation flow.
func NewPullRequestModel ¶
func NewPullRequestModel(recentMessages []string) PullRequestModel
func (PullRequestModel) Init ¶
func (m PullRequestModel) Init() tea.Cmd
func (PullRequestModel) Update ¶
func (m PullRequestModel) Update(msg tea.Msg) (PullRequestModel, tea.Cmd)
func (PullRequestModel) View ¶
func (m PullRequestModel) View() string
type RepoInfo ¶
type RepoInfo struct {
Path string
Name string
Branch string
DefaultBranch string
Modified int
Added int
Deleted int
Untracked int
Ahead int
Behind int
IsDirty bool
}
RepoInfo holds metadata about a discovered repo.
type RepoSelectDoneMsg ¶
type RepoSelectDoneMsg struct {
Paths []string
Caller string // which screen requested the selection
}
RepoSelectDoneMsg is sent when repos have been selected.
type RepoSelectModel ¶
type RepoSelectModel struct {
// contains filtered or unexported fields
}
RepoSelectModel lets the user pick repos from discovered subdirectories.
func NewRepoSelectModel ¶
func NewRepoSelectModel(caller, rootPath string, parentOffset, termHeight int) RepoSelectModel
NewRepoSelectModel creates a repo selector. parentOffset = lines the parent screen renders above/below this component (title, summary box, app.go padding, etc.) termHeight = current terminal height so we can size the list immediately.
func (RepoSelectModel) Init ¶
func (m RepoSelectModel) Init() tea.Cmd
func (RepoSelectModel) Update ¶
func (m RepoSelectModel) Update(msg tea.Msg) (RepoSelectModel, tea.Cmd)
func (RepoSelectModel) View ¶
func (m RepoSelectModel) View() string
type SaveHistoryMsg ¶
SaveHistoryMsg tells the root model to persist a message to history.
type StatusModel ¶
type StatusModel struct {
// contains filtered or unexported fields
}
StatusModel handles the status view.
func NewStatusModel ¶
func NewStatusModel() StatusModel
func (StatusModel) Init ¶
func (m StatusModel) Init() tea.Cmd
func (StatusModel) Update ¶
func (m StatusModel) Update(msg tea.Msg) (StatusModel, tea.Cmd)
func (StatusModel) View ¶
func (m StatusModel) View() string
type TeamPRsModel ¶ added in v1.5.4
type TeamPRsModel struct {
// contains filtered or unexported fields
}
TeamPRsModel handles the team-prs flow.
func NewTeamPRsModel ¶ added in v1.5.4
func NewTeamPRsModel() TeamPRsModel
func (TeamPRsModel) Init ¶ added in v1.5.4
func (m TeamPRsModel) Init() tea.Cmd
func (TeamPRsModel) Update ¶ added in v1.5.4
func (m TeamPRsModel) Update(msg tea.Msg) (TeamPRsModel, tea.Cmd)
func (TeamPRsModel) View ¶ added in v1.5.4
func (m TeamPRsModel) View() string