cli

package
v0.0.0-...-8e970c3 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2016 License: MIT Imports: 3 Imported by: 0

README

cli Package

Provides the command line interface.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

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

Command line application.

func NewApp

func NewApp(config Configurer) *Application

Creates a new application with the given configuration.

func (*Application) Run

func (c *Application) Run(args []string)

Runs the application with the given arguments.

type Configurer

type Configurer interface {
	UserToken() string
}

Interface for a config provider.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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