sample

package
v0.16.2-reserved Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Value string
	Cool  bool
}

func (*Handler) Cobra

func (me *Handler) Cobra() *cobra.Command

func (*Handler) Flags

func (me *Handler) Flags(s *pflag.FlagSet)

func (*Handler) ParseArguments

func (me *Handler) ParseArguments(_ context.Context, _ *cobra.Command, _ []string) error

func (*Handler) Run

func (me *Handler) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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