cmd

package
v0.0.0-...-16935a4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRootCmd

func NewRootCmd() *cobra.Command

Types

type IOStreams

type IOStreams struct {
	Out    io.Writer
	ErrOut io.Writer
}

type RootCommandOption

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

func (*RootCommandOption) Run

func (o *RootCommandOption) Run(streams IOStreams, currentTime time.Time) error

func (*RootCommandOption) Validate

func (o *RootCommandOption) Validate(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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