cmd

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginCommand

type LoginCommand struct {
	// contains filtered or unexported fields
}

LoginCommand authenticates via browser using PKCE.

func (*LoginCommand) Execute

func (*LoginCommand) Name

func (*LoginCommand) Name() string

func (*LoginCommand) SetFlags

func (l *LoginCommand) SetFlags(f *flag.FlagSet)

func (*LoginCommand) Synopsis

func (*LoginCommand) Synopsis() string

func (*LoginCommand) Usage

func (*LoginCommand) Usage() string

type LogoutCommand

type LogoutCommand struct{}

LogoutCommand removes the stored token.

func (*LogoutCommand) Execute

func (*LogoutCommand) Name

func (*LogoutCommand) Name() string

func (*LogoutCommand) SetFlags

func (*LogoutCommand) SetFlags(_ *flag.FlagSet)

func (*LogoutCommand) Synopsis

func (*LogoutCommand) Synopsis() string

func (*LogoutCommand) Usage

func (*LogoutCommand) Usage() string

type WaitCommand

type WaitCommand struct {
	// contains filtered or unexported fields
}

WaitCommand waits for new Slack messages and emits them as NDJSON.

func (*WaitCommand) Execute

func (w *WaitCommand) Execute(_ context.Context, f *flag.FlagSet, _ ...any) subcommands.ExitStatus

func (*WaitCommand) Name

func (*WaitCommand) Name() string

func (*WaitCommand) SetFlags

func (w *WaitCommand) SetFlags(f *flag.FlagSet)

func (*WaitCommand) Synopsis

func (*WaitCommand) Synopsis() string

func (*WaitCommand) Usage

func (*WaitCommand) Usage() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址