cmd

package
v0.0.0-...-7052534 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "scpgo <src> host:<dst>",
	Short: "SCP implementation in Go",
	Long: `This is an SCP implementation in Go.
`,
	Run: func(cmd *cobra.Command, args []string) {
		copier.Exec(args)

	},
	Args:    cobra.ExactArgs(2),
	Version: Version,
}

RootCmd Represents the base command when called without any subcommands

View Source
var (

	// Version For the command
	Version string
)

Functions

func Execute

func Execute()

Execute This is called by main.main(). It only needs to happen once to the rootCmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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