cache

package
v0.0.13-beta Latest Latest
Warning

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

Go to latest
Published: Apr 27, 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 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 NewCacheCommand

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

func (*Command) Flags

func (cmd *Command) Flags()

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