commands

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagNameCopyFrom = "from"
	FlagNameCopyTo   = "to"
)
View Source
const (
	FlagNameIncludePattern = "include-pattern"
	FlagNameExcludePattern = "exclude-pattern"
	FlagNameNoCache        = "no-cache"
)
View Source
const (
	FlagNameDirectory     = "directory"
	FlagNameParallelLimit = "parallel-limit"
)

Variables

View Source
var FlagDirectory = &cli.PathFlag{
	Name:     FlagNameDirectory,
	Aliases:  []string{"d"},
	Usage:    "The directory to run this operation against.",
	Required: true,
}
View Source
var FlagParallelLimit = &cli.IntFlag{
	Name:    FlagNameParallelLimit,
	Aliases: []string{"p"},
	Usage:   "The maximum number of concurrent operations that can run at a time.",
	Value:   8,
}

Functions

func CommandCopy added in v0.6.0

func CommandCopy() *cli.Command

CommandCopy returns the command metadata for the copy command.

func CommandOptimize

func CommandOptimize() *cli.Command

CommandOptimize returns the command metadata for the optimize command.

func CommandRestore

func CommandRestore() *cli.Command

CommandRestore returns the command metadata for the restore command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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