command

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2015 License: ISC Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthCommand

type AuthCommand struct {
	Meta
}

func (*AuthCommand) Help

func (c *AuthCommand) Help() string

func (*AuthCommand) Run

func (c *AuthCommand) Run(_ []string) int

func (*AuthCommand) Synopsis

func (c *AuthCommand) Synopsis() string

type DownloadCommand

type DownloadCommand struct {
	Meta
}

func (*DownloadCommand) Help

func (c *DownloadCommand) Help() string

func (*DownloadCommand) Run

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

func (*DownloadCommand) Synopsis

func (c *DownloadCommand) Synopsis() string

type InfoCommand

type InfoCommand struct {
	Meta
}

func (*InfoCommand) Help

func (c *InfoCommand) Help() string

func (*InfoCommand) Run

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

func (*InfoCommand) Synopsis

func (c *InfoCommand) Synopsis() string

type ListCommand

type ListCommand struct {
	Meta
}

func (*ListCommand) Help

func (c *ListCommand) Help() string

func (*ListCommand) Run

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

func (*ListCommand) Synopsis

func (c *ListCommand) Synopsis() string

type Meta

type Meta struct {
	AppName string
	Ui      cli.Ui

	AcdApiClientId string
	AcdApiSecret   string
	CallbackPort   string
}

Meta contains the meta-options and functionality that nearly every command inherits.

func (*Meta) NewAcdClient

func (m *Meta) NewAcdClient() (*acd.Client, error)

Creates a new client for Amazon Cloud Drive.

type StorageCommand

type StorageCommand struct {
	Meta
}

func (*StorageCommand) Help

func (c *StorageCommand) Help() string

func (*StorageCommand) Run

func (c *StorageCommand) Run(_ []string) int

func (*StorageCommand) Synopsis

func (c *StorageCommand) Synopsis() string

type VersionCommand

type VersionCommand struct {
	AppName           string
	Revision          string
	Version           string
	VersionPrerelease string
	Ui                cli.Ui
}

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

func (*VersionCommand) Run

func (c *VersionCommand) Run(_ []string) int

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

Jump to

Keyboard shortcuts

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