Documentation
¶
Index ¶
- type Body
- type ConfirmDeleteWorkspaceMsg
- type ConfirmationView
- type CreateProjectView
- type CreateWorkspaceView
- type DeleteProjectCommandMsg
- type DeleteWorkspaceCommandMsg
- type DeleteWorkspaceView
- type DoneCreateProjectMsg
- type DoneCreateWorkspaceMsg
- type DoneDeleteWorkspaceMsg
- type DoneHelpMsg
- type DoneModuleSelectorMsg
- type DoneSwapWorkspaceMsg
- type DoneWorkspaceModuleSelectorMsg
- type HelpCommandMsg
- type HelpView
- type ModuleSelectorCommandMsg
- type ModuleSelectorView
- type NewProjectCommandMsg
- type NewWorkspaceCommandMsg
- type ProjectBar
- type StatusBar
- type SwapProjectCommandMsg
- type SwapWorkspaceCommandMsg
- type SwapWorkspaceView
- type SwitchProjectMsg
- type TwitterLoginCommandMsg
- type TwitterPostCommandMsg
- type WorkspaceModuleSelectorCommandMsg
- type WorkspaceModuleSelectorView
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfirmDeleteWorkspaceMsg ¶
type ConfirmDeleteWorkspaceMsg struct {
WorkspaceID string
}
type ConfirmationView ¶
func NewConfirmationView ¶
func NewConfirmationView(message string, onYes, onNo tea.Msg) ConfirmationView
func (ConfirmationView) Init ¶
func (v ConfirmationView) Init() tea.Cmd
func (ConfirmationView) Update ¶
func (v ConfirmationView) Update(msg tea.Msg) (ConfirmationView, tea.Cmd)
func (ConfirmationView) View ¶
func (v ConfirmationView) View() string
type CreateProjectView ¶
func NewCreateProjectView ¶
func NewCreateProjectView(db *sql.DB, workspaceID string) CreateProjectView
func (CreateProjectView) Init ¶
func (v CreateProjectView) Init() tea.Cmd
func (CreateProjectView) Update ¶
func (v CreateProjectView) Update(msg tea.Msg) (CreateProjectView, tea.Cmd)
func (CreateProjectView) View ¶
func (v CreateProjectView) View() string
type CreateWorkspaceView ¶
func NewCreateWorkspaceView ¶
func NewCreateWorkspaceView(db *sql.DB) CreateWorkspaceView
func (CreateWorkspaceView) Init ¶
func (v CreateWorkspaceView) Init() tea.Cmd
func (CreateWorkspaceView) Update ¶
func (v CreateWorkspaceView) Update(msg tea.Msg) (CreateWorkspaceView, tea.Cmd)
func (CreateWorkspaceView) View ¶
func (v CreateWorkspaceView) View() string
type DeleteProjectCommandMsg ¶
type DeleteProjectCommandMsg struct{}
type DeleteWorkspaceCommandMsg ¶
type DeleteWorkspaceCommandMsg struct{}
type DeleteWorkspaceView ¶
func NewDeleteWorkspaceView ¶
func NewDeleteWorkspaceView(db *sql.DB) DeleteWorkspaceView
func (DeleteWorkspaceView) Init ¶
func (v DeleteWorkspaceView) Init() tea.Cmd
func (DeleteWorkspaceView) Update ¶
func (v DeleteWorkspaceView) Update(msg tea.Msg) (DeleteWorkspaceView, tea.Cmd)
func (DeleteWorkspaceView) View ¶
func (v DeleteWorkspaceView) View() string
type DoneCreateProjectMsg ¶
type DoneCreateProjectMsg struct{}
A message to signal that the project creation is done/cancelled.
type DoneCreateWorkspaceMsg ¶
type DoneCreateWorkspaceMsg struct{}
A message to signal that the workspace creation is done/cancelled.
type DoneDeleteWorkspaceMsg ¶
type DoneDeleteWorkspaceMsg struct{}
type DoneHelpMsg ¶
type DoneHelpMsg struct{}
type DoneModuleSelectorMsg ¶
type DoneSwapWorkspaceMsg ¶
type HelpCommandMsg ¶
type HelpCommandMsg struct{}
type HelpView ¶
type HelpView struct {
// contains filtered or unexported fields
}
func NewHelpView ¶
func NewHelpView() HelpView
type ModuleSelectorCommandMsg ¶
type ModuleSelectorCommandMsg struct{}
type ModuleSelectorView ¶
type ModuleSelectorView struct {
// contains filtered or unexported fields
}
func NewModuleSelectorView ¶
func NewModuleSelectorView(project storage.Project) ModuleSelectorView
func (ModuleSelectorView) Init ¶
func (v ModuleSelectorView) Init() tea.Cmd
func (ModuleSelectorView) Update ¶
func (v ModuleSelectorView) Update(msg tea.Msg) (ModuleSelectorView, tea.Cmd)
func (ModuleSelectorView) View ¶
func (v ModuleSelectorView) View() string
type NewProjectCommandMsg ¶
type NewProjectCommandMsg struct{}
type NewWorkspaceCommandMsg ¶
type NewWorkspaceCommandMsg struct{}
New message type for newWorkspace command
type ProjectBar ¶
type ProjectBar struct {
Projects []storage.Project
SelectedIndex int
// contains filtered or unexported fields
}
func NewProjectBar ¶
func NewProjectBar() ProjectBar
func (*ProjectBar) Init ¶
func (m *ProjectBar) Init() tea.Cmd
func (*ProjectBar) Update ¶
func (m *ProjectBar) Update(msg tea.Msg) (*ProjectBar, tea.Cmd)
func (*ProjectBar) View ¶
func (m *ProjectBar) View() string
type StatusBar ¶
type SwapProjectCommandMsg ¶
type SwapProjectCommandMsg struct{}
type SwapWorkspaceCommandMsg ¶
type SwapWorkspaceCommandMsg struct{}
type SwapWorkspaceView ¶
type SwapWorkspaceView struct {
// contains filtered or unexported fields
}
func NewSwapWorkspaceView ¶
func NewSwapWorkspaceView(db *sql.DB) SwapWorkspaceView
func (SwapWorkspaceView) Init ¶
func (v SwapWorkspaceView) Init() tea.Cmd
func (SwapWorkspaceView) Update ¶
func (v SwapWorkspaceView) Update(msg tea.Msg) (SwapWorkspaceView, tea.Cmd)
func (SwapWorkspaceView) View ¶
func (v SwapWorkspaceView) View() string
type SwitchProjectMsg ¶
type TwitterLoginCommandMsg ¶
type TwitterLoginCommandMsg struct{}
type TwitterPostCommandMsg ¶
type TwitterPostCommandMsg struct{}
type WorkspaceModuleSelectorCommandMsg ¶
type WorkspaceModuleSelectorCommandMsg struct{}
type WorkspaceModuleSelectorView ¶
type WorkspaceModuleSelectorView struct {
// contains filtered or unexported fields
}
func NewWorkspaceModuleSelectorView ¶
func NewWorkspaceModuleSelectorView(workspace storage.Workspace) WorkspaceModuleSelectorView
func (WorkspaceModuleSelectorView) Init ¶
func (v WorkspaceModuleSelectorView) Init() tea.Cmd
func (WorkspaceModuleSelectorView) Update ¶
func (v WorkspaceModuleSelectorView) Update(msg tea.Msg) (WorkspaceModuleSelectorView, tea.Cmd)
func (WorkspaceModuleSelectorView) View ¶
func (v WorkspaceModuleSelectorView) View() string
Click to show internal directories.
Click to hide internal directories.