Documentation
¶
Overview ¶
Package organizations provides organization selection and creation steps.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateModel ¶
type CreateModel struct {
// contains filtered or unexported fields
}
CreateModel handles organization creation.
func NewCreate ¶
func NewCreate( ctx context.Context, theme styles.Theme, services api.APIServices, prefs preferences.UserPreferences, scope log.Scope, ) *CreateModel
NewCreate creates a new organization creation step.
func (*CreateModel) SetSize ¶
func (m *CreateModel) SetSize(width, height int)
SetSize updates dimensions.
func (*CreateModel) ShortHelp ¶
func (m *CreateModel) ShortHelp() []key.Binding
ShortHelp returns the key bindings for the short help view.
func (*CreateModel) Update ¶
func (m *CreateModel) Update(msg tea.Msg) tea.Cmd
Update handles messages.
func (*CreateModel) View ¶
func (m *CreateModel) View() string
View renders the organization creation UI.
type SelectModel ¶
type SelectModel struct {
// contains filtered or unexported fields
}
SelectModel handles organization selection.
func NewSelect ¶
func NewSelect( ctx context.Context, theme styles.Theme, services api.APIServices, prefs preferences.UserPreferences, authService auth.Auth, scope log.Scope, ) *SelectModel
NewSelect creates a new organization select step.
func (*SelectModel) SetSize ¶
func (m *SelectModel) SetSize(width, height int)
SetSize updates dimensions.
func (*SelectModel) ShortHelp ¶
func (m *SelectModel) ShortHelp() []key.Binding
ShortHelp returns the key bindings for the short help view.
func (*SelectModel) Update ¶
func (m *SelectModel) Update(msg tea.Msg) tea.Cmd
Update handles messages.
func (*SelectModel) View ¶
func (m *SelectModel) View() string
View renders the organization selection UI.
Click to show internal directories.
Click to hide internal directories.