cache

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: MIT Imports: 7 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 dump command and its subcommands.

Types

type Command

type Command struct {
	// Command is the dump cobra.Command instance
	Command *cobra.Command
	// Config contains application configuration
	Config *config.Config
	// Files contains the embedded configuration files and templates
	Files config.Embedded
}

func NewDumpCommand added in v0.0.12

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

NewDumpCommand creates a Command for displaying configuration information.

func (*Command) Flags

func (cmd *Command) Flags()

Flags adds dump-specific flags to the command.

func (*Command) Subcommands added in v0.0.12

func (cmd *Command) Subcommands()

Subcommands adds all subcommands to the dump command.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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