cmd

package
v0.0.0-...-2c249d0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2014 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package cmd implements sub-commands of the "kite" command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Install

type Install struct{}

func NewInstall

func NewInstall() *Install

func (*Install) Definition

func (*Install) Definition() string

func (*Install) Exec

func (*Install) Exec(args []string) error

type InstalledKite

type InstalledKite struct {
	Domain  string
	User    string
	Repo    string
	Version string
}

func NewInstalledKite

func NewInstalledKite(domain, user, repo, version string) *InstalledKite

func (*InstalledKite) BinPath

func (k *InstalledKite) BinPath() string

BinPath returns the path of the executable binary file.

func (*InstalledKite) String

func (k *InstalledKite) String() string

type List

type List struct{}

func NewList

func NewList() *List

func (*List) Definition

func (*List) Definition() string

func (*List) Exec

func (*List) Exec(args []string) error

type Query

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

func NewQuery

func NewQuery(client *kite.Kite) *Query

func (*Query) Definition

func (r *Query) Definition() string

func (*Query) Exec

func (r *Query) Exec(args []string) error

type Register

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

func NewRegister

func NewRegister(client *kite.Kite) *Register

func (*Register) Definition

func (r *Register) Definition() string

func (*Register) Exec

func (r *Register) Exec(args []string) error

type Run

type Run struct{}

func NewRun

func NewRun() *Run

func (*Run) Definition

func (*Run) Definition() string

func (*Run) Exec

func (*Run) Exec(args []string) error

type ShowKey

type ShowKey struct{}

func NewShowKey

func NewShowKey() *ShowKey

func (*ShowKey) Definition

func (v *ShowKey) Definition() string

func (*ShowKey) Exec

func (v *ShowKey) Exec(args []string) error

type Tell

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

func NewTell

func NewTell(client *kite.Kite) *Tell

func (*Tell) Definition

func (t *Tell) Definition() string

func (*Tell) Exec

func (t *Tell) Exec(args []string) error

type Uninstall

type Uninstall struct{}

func NewUninstall

func NewUninstall() *Uninstall

func (*Uninstall) Definition

func (*Uninstall) Definition() string

func (*Uninstall) Exec

func (*Uninstall) Exec(args []string) error

type Version

type Version string

func (Version) Definition

func (v Version) Definition() string

func (Version) Exec

func (v Version) Exec(args []string) error

Directories

Path Synopsis
Package cli is a library to help creating command line tools.
Package cli is a library to help creating command line tools.
Command line tool for using kite services.
Command line tool for using kite services.

Jump to

Keyboard shortcuts

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