Versions in this module Expand all Collapse all v0 v0.4.0 Jun 15, 2024 v0.3.0 Jun 15, 2024 Changes in this version + var ErrAuthContextMissing = errors.New("auth context not present") + func NewClientFromContext(ctx context.Context) (*client.Client, error) + type Command struct + Command *cobra.Command + func NewCommand() *Command + type Context struct + DisplayName string + EmailAddress string + Subdomain string + Token string + func LoadUserContext() (*Context, error) + func (c *Context) Save() error + type ContextKey string + const DefaultContextKey + type InitCommand struct + Command *cobra.Command + func NewInitCommand() *InitCommand + func (ac *InitCommand) Execute(cmd *cobra.Command, _ []string) error + type ShowCommand struct + Command *cobra.Command + func NewShowCommand() *ShowCommand + func (cmd *ShowCommand) Execute(_ *cobra.Command, _ []string) error