Documentation ¶
Overview ¶
Package login is for the get command
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdLogin ¶
func NewCmdLogin(t *terminal.Terminal, loginStore LoginStore) *cobra.Command
Types ¶
type LoginOptions ¶
type LoginOptions struct{}
func (*LoginOptions) RunLogin ¶
func (o *LoginOptions) RunLogin(t *terminal.Terminal, _ *cobra.Command, _ []string, loginStore LoginStore) error
type LoginStore ¶ added in v0.3.0
type LoginStore interface { CreateUser(idToken string) (*brevapi.User, error) GetOrganizations() ([]brevapi.Organization, error) CreateOrganization(req store.CreateOrganizationRequest) (*brevapi.Organization, error) }
Click to show internal directories.
Click to hide internal directories.