internal

package
v2.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Text   string = "text"
	GitHub string = "github"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandContext

type CommandContext struct {
	Output                string
	LogLevel              zerolog.Level
	WorkingDirectory      string
	ConfigurationFileName string
	// contains filtered or unexported fields
}

func NewCommandContext

func NewCommandContext(defaultWorkingDirectory string) *CommandContext

func (*CommandContext) RootContext

func (c *CommandContext) RootContext() *context.Context

type ConfigurationFileNameFlag

type ConfigurationFileNameFlag struct {
	Context *CommandContext
	Logger  *zerolog.Logger
}

func (*ConfigurationFileNameFlag) Set

func (c *ConfigurationFileNameFlag) Set(value string) error

func (*ConfigurationFileNameFlag) String

func (c *ConfigurationFileNameFlag) String() string

func (*ConfigurationFileNameFlag) Type

type LogLevelFlag

type LogLevelFlag struct {
	Context *CommandContext
	Logger  *zerolog.Logger
}

func (*LogLevelFlag) Set

func (l *LogLevelFlag) Set(value string) error

func (*LogLevelFlag) String

func (l *LogLevelFlag) String() string

func (*LogLevelFlag) Type

func (l *LogLevelFlag) Type() string

type OutputTypeFlag

type OutputTypeFlag struct {
	Context *CommandContext
}

func (*OutputTypeFlag) Set

func (o *OutputTypeFlag) Set(value string) error

func (*OutputTypeFlag) String

func (o *OutputTypeFlag) String() string

func (*OutputTypeFlag) Type

func (o *OutputTypeFlag) Type() string

type WorkingDirectoryFlag

type WorkingDirectoryFlag struct {
	Context *CommandContext
	Logger  *zerolog.Logger
}

func (*WorkingDirectoryFlag) Set

func (w *WorkingDirectoryFlag) Set(value string) error

func (*WorkingDirectoryFlag) String

func (w *WorkingDirectoryFlag) String() string

func (*WorkingDirectoryFlag) Type

func (w *WorkingDirectoryFlag) Type() string

Jump to

Keyboard shortcuts

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