Documentation
¶
Index ¶
- func NewCommand() *cobra.Command
- func ParseTarget(source, destination string) (*LocalArgument, *RemoteArgument, bool, error)
- func PrepareCommand(cmd *cobra.Command, fallbackNamespace string, opts *ssh.SSHOptions, ...) (*LocalArgument, *RemoteArgument, bool, error)
- type LocalArgument
- type RemoteArgument
- type SCP
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
func ParseTarget ¶ added in v1.5.0
func ParseTarget(source, destination string) (*LocalArgument, *RemoteArgument, bool, error)
func PrepareCommand ¶
func PrepareCommand(cmd *cobra.Command, fallbackNamespace string, opts *ssh.SSHOptions, args []string) (*LocalArgument, *RemoteArgument, bool, error)
Types ¶
type LocalArgument ¶ added in v1.5.0
type LocalArgument struct {
Path string
}
type RemoteArgument ¶ added in v1.5.0
Click to show internal directories.
Click to hide internal directories.