scp

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2016 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	*common.InstanceFilter
	FromPath string
	ToPath   string
}

Command describe sccp command.

func GetCommand

func GetCommand() *Command

GetCommand create scp command instance.

func (*Command) Help

func (c *Command) Help() string

Help return help message.

func (*Command) Run

func (c *Command) Run(args []string) int

Run invoke scp command.

func (*Command) Synopsis

func (c *Command) Synopsis() string

Synopsis return command description.

Jump to

Keyboard shortcuts

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