commands

package
v0.0.0-...-6c498f3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command interface {
	Execute(context.Context, []string) error
}

type ExitCommand

type ExitCommand struct{}

func (*ExitCommand) Execute

func (c *ExitCommand) Execute(ctx context.Context, args []string) error

type FlagCommand

type FlagCommand struct{}

func (*FlagCommand) Execute

func (c *FlagCommand) Execute(ctx context.Context, args []string) error

type WhoamiCommand

type WhoamiCommand struct{}

func (*WhoamiCommand) Execute

func (c *WhoamiCommand) Execute(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

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