Documentation
¶
Index ¶
- func FormatAuthLabel(auth types.SlackAuth) string
- func NewCommand(clients *shared.ClientFactory) *cobra.Command
- func NewListCommand(clients *shared.ClientFactory) *cobra.Command
- func NewLoginCommand(clients *shared.ClientFactory) *cobra.Command
- func NewLogoutCommand(clients *shared.ClientFactory) *cobra.Command
- func NewRevokeCommand(clients *shared.ClientFactory) *cobra.Command
- func NewTokenCommand(clients *shared.ClientFactory) *cobra.Command
- func RunLoginCommand(clients *shared.ClientFactory, cmd *cobra.Command) (types.SlackAuth, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatAuthLabel ¶
FormatAuthLabel returns a formatted auth label for user selection during logout
func NewCommand ¶
func NewCommand(clients *shared.ClientFactory) *cobra.Command
func NewListCommand ¶
func NewListCommand(clients *shared.ClientFactory) *cobra.Command
NewListCommand creates the Cobra command for listing authorized accounts
func NewLoginCommand ¶
func NewLoginCommand(clients *shared.ClientFactory) *cobra.Command
func NewLogoutCommand ¶
func NewLogoutCommand(clients *shared.ClientFactory) *cobra.Command
func NewRevokeCommand ¶
func NewRevokeCommand(clients *shared.ClientFactory) *cobra.Command
func NewTokenCommand ¶
func NewTokenCommand(clients *shared.ClientFactory) *cobra.Command
NewTokenCommand prepares the process to perform authentication for a service token via the existing flow used by the login command
func RunLoginCommand ¶
RunLoginCommand prompts the user to select a team or login to a new team
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.