subcmd

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2018 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileCreationSubCommandWrapper

type FileCreationSubCommandWrapper struct {
	// contains filtered or unexported fields
}

FileCreationSubCommandWrapper wraps a cobra command fields to hold parse flag options

func NewCloneCommandWrapper

func NewCloneCommandWrapper() *FileCreationSubCommandWrapper

NewCloneCommandWrapper creates and returns clones sub-command

func NewFileCreationSubCommand

func NewFileCreationSubCommand(commandName string, strategy proxyfile.FileCreationStrategy) *FileCreationSubCommandWrapper

NewFileCreationSubCommand creates a subcommand which will execute proxy file creation

func NewHardlinkCommandWrapper

func NewHardlinkCommandWrapper() *FileCreationSubCommandWrapper

NewHardlinkCommandWrapper creates and returns hardlinks sub-command

func NewSymlinkCommandWrapper

func NewSymlinkCommandWrapper() *FileCreationSubCommandWrapper

NewSymlinkCommandWrapper creates and returns symlinks sub-command

func (*FileCreationSubCommandWrapper) GetCommand

func (w *FileCreationSubCommandWrapper) GetCommand() *cobra.Command

GetCommand returns the wrapped cobra command

Jump to

Keyboard shortcuts

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