cache

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: MIT Imports: 15 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 Cache command.

Types

type Command

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

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

func NewCacheCommand

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

NewCacheCommand creates a Command for updating the application to the latest version.

func (*Command) Flags

func (cmd *Command) Flags()

Flags adds Cache-specific flags to the command.

Jump to

Keyboard shortcuts

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