status

package
v0.0.12-beta Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(cfg *config.Config, files config.Embedded) *cobra.Command

NewCommand creates a cobra.Command instance containing the status command.

Types

type Command

type Command struct {
	// Command is the status cobra.Command instance
	Command *cobra.Command
}

Command encapsulates the status cobra command with its associated config and embedded files.

func NewStatusCommand

func NewStatusCommand(cfg *config.Config, embedded config.Embedded) *Command

NewStatusCommand creates a Command for statusing tools from a YAML file.

func (*Command) Flags

func (cmd *Command) Flags()

Flags adds status-specific flags to the command.

Jump to

Keyboard shortcuts

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