cmd

package
v0.1.75 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2025 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCmdAborted = errors.New("aborted by user")

Functions

func Execute

func Execute()

func NewCli

func NewCli(cmd *cobra.Command) (c8volt.API, *slog.Logger, *config.Config, error)

Types

type Chain

type Chain map[string]process.ProcessInstance

type KeysPath

type KeysPath []string

type RenderMode

type RenderMode int
const (
	ModeJSON RenderMode = iota
	ModeOneLine
	ModeKeysOnly
)

func (RenderMode) String

func (m RenderMode) String() string

type Services

type Services struct {
	Config *config.Config
	HTTP   *httpc.Service
}

func NewFromContext

func NewFromContext(ctx context.Context) (*Services, error)

Jump to

Keyboard shortcuts

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