internal

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cli

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

func NewCli

func NewCli() *Cli

func (*Cli) Completer

func (r *Cli) Completer(doc prompt.Document) (res []prompt.Suggest)

func (*Cli) Executor

func (r *Cli) Executor(input string)

func (*Cli) ParseCommand

func (r *Cli) ParseCommand(input string) (Command, error)

func (*Cli) Prefix

func (r *Cli) Prefix() (string, bool)

func (*Cli) PrintFiles

func (r *Cli) PrintFiles(files []*aliyundrive.File)

type Command

type Command interface {
	Run() error
}

type CommandCd

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

func (*CommandCd) Run

func (r *CommandCd) Run() error

type CommandDownload

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

func (*CommandDownload) Run

func (r *CommandDownload) Run() error

type CommandLs

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

func (*CommandLs) Run

func (r *CommandLs) Run() error

type CommandMkdir

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

func (*CommandMkdir) Run

func (r *CommandMkdir) Run() error

type CommandMv

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

func (*CommandMv) Run

func (r *CommandMv) Run() error

type CommandRm

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

func (*CommandRm) Run

func (r *CommandRm) Run() error

type CommandUpload

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

func (*CommandUpload) Run

func (r *CommandUpload) Run() error

Jump to

Keyboard shortcuts

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