cmdput

package
v0.0.0-...-c24ad15 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &command.C{
	Name:  "put",
	Usage: "<path> ...",
	Help: `Write file and directory contents to the store.

Add each specified path to the store and print its storage key.
`,

	SetFlags: func(_ *command.Env, fs *flag.FlagSet) {
		fs.BoolVar(&putFlags.Stat, "stat", false, "Capture file and directory stat")
		fs.BoolVar(&putFlags.XAttr, "xattr", false, "Capture extended attributes")
		fs.BoolVar(&putFlags.Verbose, "v", false, "Enable verbose logging")
	},
	Run: runPut,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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