commands

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2013 License: BSD-3-Clause, GPL-3.0, MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CopyCommand

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

func (CopyCommand) Description

func (CopyCommand) Description() string

func (CopyCommand) Exec

func (command CopyCommand) Exec(options cli.Options, args []string) error

func (CopyCommand) Name

func (CopyCommand) Name() cli.CommandName

func (CopyCommand) Options

func (CopyCommand) Options() cli.Options

func (CopyCommand) Synopsis

func (CopyCommand) Synopsis() string

type DeleteCommand

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

func (DeleteCommand) Description

func (DeleteCommand) Description() string

func (DeleteCommand) Exec

func (command DeleteCommand) Exec(options cli.Options, args []string) error

func (DeleteCommand) Name

func (DeleteCommand) Name() cli.CommandName

func (DeleteCommand) Options

func (DeleteCommand) Options() cli.Options

func (DeleteCommand) Synopsis

func (DeleteCommand) Synopsis() string

type DupesCommand

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

func (DupesCommand) Description

func (DupesCommand) Description() string

func (DupesCommand) Exec

func (command DupesCommand) Exec(options cli.Options, args []string) error

func (DupesCommand) Name

func (DupesCommand) Name() cli.CommandName

func (DupesCommand) Options

func (DupesCommand) Options() cli.Options

func (DupesCommand) Synopsis

func (DupesCommand) Synopsis() string

type FilesCommand

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

func (FilesCommand) Description

func (FilesCommand) Description() string

func (FilesCommand) Exec

func (command FilesCommand) Exec(options cli.Options, args []string) error

func (FilesCommand) Name

func (FilesCommand) Name() cli.CommandName

func (FilesCommand) Options

func (FilesCommand) Options() cli.Options

func (FilesCommand) Synopsis

func (FilesCommand) Synopsis() string

type HelpCommand

type HelpCommand struct {
	Commands map[cli.CommandName]cli.Command
}

func (HelpCommand) Description

func (HelpCommand) Description() string

func (HelpCommand) Exec

func (command HelpCommand) Exec(options cli.Options, args []string) error

func (HelpCommand) Name

func (HelpCommand) Name() cli.CommandName

func (HelpCommand) Options

func (HelpCommand) Options() cli.Options

func (HelpCommand) Synopsis

func (HelpCommand) Synopsis() string

type MergeCommand

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

func (MergeCommand) Description

func (MergeCommand) Description() string

func (MergeCommand) Exec

func (command MergeCommand) Exec(options cli.Options, args []string) error

func (MergeCommand) Name

func (MergeCommand) Name() cli.CommandName

func (MergeCommand) Options

func (MergeCommand) Options() cli.Options

func (MergeCommand) Synopsis

func (MergeCommand) Synopsis() string

type MountCommand

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

func (MountCommand) Description

func (MountCommand) Description() string

func (MountCommand) Exec

func (command MountCommand) Exec(options cli.Options, args []string) error

func (MountCommand) Name

func (MountCommand) Name() cli.CommandName

func (MountCommand) Options

func (MountCommand) Options() cli.Options

func (MountCommand) Synopsis

func (MountCommand) Synopsis() string

type RenameCommand

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

func (RenameCommand) Description

func (RenameCommand) Description() string

func (RenameCommand) Exec

func (command RenameCommand) Exec(options cli.Options, args []string) error

func (RenameCommand) Name

func (RenameCommand) Name() cli.CommandName

func (RenameCommand) Options

func (RenameCommand) Options() cli.Options

func (RenameCommand) Synopsis

func (RenameCommand) Synopsis() string

type RepairCommand

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

func (RepairCommand) Description

func (RepairCommand) Description() string

func (RepairCommand) Exec

func (command RepairCommand) Exec(options cli.Options, args []string) error

func (RepairCommand) Name

func (RepairCommand) Name() cli.CommandName

func (RepairCommand) Options

func (RepairCommand) Options() cli.Options

func (RepairCommand) Synopsis

func (RepairCommand) Synopsis() string

type Row

type Row struct {
	Path   string
	Status Status
}

type StatsCommand

type StatsCommand struct{}

func (StatsCommand) Description

func (StatsCommand) Description() string

func (StatsCommand) Exec

func (StatsCommand) Exec(options cli.Options, args []string) error

func (StatsCommand) Name

func (StatsCommand) Name() cli.CommandName

func (StatsCommand) Options

func (StatsCommand) Options() cli.Options

func (StatsCommand) Synopsis

func (StatsCommand) Synopsis() string

type Status

type Status byte
const (
	UNTAGGED Status = 'U'
	TAGGED   Status = 'T'
	MODIFIED Status = 'M'
	MISSING  Status = '!'
)

type StatusCommand

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

func (StatusCommand) Description

func (StatusCommand) Description() string

func (StatusCommand) Exec

func (command StatusCommand) Exec(options cli.Options, args []string) error

func (StatusCommand) Name

func (StatusCommand) Name() cli.CommandName

func (StatusCommand) Options

func (StatusCommand) Options() cli.Options

func (StatusCommand) Synopsis

func (StatusCommand) Synopsis() string

type StatusReport

type StatusReport struct {
	Rows []Row
}

func NewReport

func NewReport() *StatusReport

func (*StatusReport) AddRow

func (report *StatusReport) AddRow(row Row)

func (*StatusReport) ContainsRow

func (report *StatusReport) ContainsRow(path string) bool

type TagCommand

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

func (TagCommand) Description

func (TagCommand) Description() string

func (TagCommand) Exec

func (command TagCommand) Exec(options cli.Options, args []string) error

func (TagCommand) Name

func (TagCommand) Name() cli.CommandName

func (TagCommand) Options

func (TagCommand) Options() cli.Options

func (TagCommand) Synopsis

func (TagCommand) Synopsis() string

type TagsCommand

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

func (TagsCommand) Description

func (TagsCommand) Description() string

func (TagsCommand) Exec

func (command TagsCommand) Exec(options cli.Options, args []string) error

func (TagsCommand) Name

func (TagsCommand) Name() cli.CommandName

func (TagsCommand) Options

func (TagsCommand) Options() cli.Options

func (TagsCommand) Synopsis

func (TagsCommand) Synopsis() string

type UnmountCommand

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

func (UnmountCommand) Description

func (UnmountCommand) Description() string

func (UnmountCommand) Exec

func (command UnmountCommand) Exec(options cli.Options, args []string) error

func (UnmountCommand) Name

func (UnmountCommand) Options

func (UnmountCommand) Options() cli.Options

func (UnmountCommand) Synopsis

func (UnmountCommand) Synopsis() string

type UntagCommand

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

func (UntagCommand) Description

func (UntagCommand) Description() string

func (UntagCommand) Exec

func (command UntagCommand) Exec(options cli.Options, args []string) error

func (UntagCommand) Name

func (UntagCommand) Name() cli.CommandName

func (UntagCommand) Options

func (UntagCommand) Options() cli.Options

func (UntagCommand) Synopsis

func (UntagCommand) Synopsis() string

type VersionCommand

type VersionCommand struct{}

func (VersionCommand) Description

func (VersionCommand) Description() string

func (VersionCommand) Exec

func (VersionCommand) Exec(options cli.Options, args []string) error

func (VersionCommand) Name

func (VersionCommand) Options

func (VersionCommand) Options() cli.Options

func (VersionCommand) Synopsis

func (VersionCommand) Synopsis() string

type VfsCommand

type VfsCommand struct{}

func (VfsCommand) Description

func (VfsCommand) Description() string

func (VfsCommand) Exec

func (VfsCommand) Exec(options cli.Options, args []string) error

func (VfsCommand) Name

func (VfsCommand) Name() cli.CommandName

func (VfsCommand) Options

func (VfsCommand) Options() cli.Options

func (VfsCommand) Synopsis

func (VfsCommand) Synopsis() string

Jump to

Keyboard shortcuts

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