file

package
v0.0.0-...-6e72d16 Latest Latest
Warning

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

Go to latest
Published: May 28, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileCommand

type FileCommand struct {
	base.BaseCommand
	// contains filtered or unexported fields
}

func NewFileCommand

func NewFileCommand(fileTransferService service.IFileTransferService) *FileCommand

NewFileCommand method creates a new file command

func (*FileCommand) Download

func (fc *FileCommand) Download(c *cli.Context) error

Remove - Remove the given file from server

func (*FileCommand) ListFiles

func (fc *FileCommand) ListFiles(c *cli.Context) error

ListFiles - Displays all files in the server

func (*FileCommand) Remove

func (fc *FileCommand) Remove(c *cli.Context) error

Remove - Remove the given file from server

func (*FileCommand) Upload

func (fc *FileCommand) Upload(c *cli.Context) error

Upload - Upload the given file to server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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