cmd

package
v0.0.0-...-83f582a Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BashCommandComplete

func BashCommandComplete(cmd cli.Command) cli.BashCompleteFunc

BashCommandComplete prints words suitable for completion of a Command

func BashComplete

func BashComplete(c *cli.Context)

BashComplete prints words suitable for completion of the App

func Context

func Context(c *cli.Context) zbcontext.Context

Context extracts zbcontext from app metadata

func DefaultCacheDir

func DefaultCacheDir(name string) string

DefaultCacheDir returns the base directory that should be used for caching data

Types

type Constructor

type Constructor interface {
	New(app *cli.App) cli.Command
}

Constructor returns a cli.Command

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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