cmd

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColorCommand

func ColorCommand() *cliapp.Command

ColorCommand command definition

func EmojiDemoCmd added in v1.1.2

func EmojiDemoCmd() *cliapp.Command

func EnvInfoCommand

func EnvInfoCommand() *cli.Command

EnvInfoCommand

func ExampleCommand

func ExampleCommand() *cliapp.Command

ExampleCommand command definition

func GitCommand

func GitCommand() *cli.Command

GitCommand

func InteractDemoCommand

func InteractDemoCommand() *cliapp.Command

InteractDemoCommand create

func ProgressDemoCmd added in v1.1.2

func ProgressDemoCmd() *cliapp.Command

func ShowDemoCommand

func ShowDemoCommand() *cliapp.Command

ShowDemoCommand create

func SpinnerDemoCmd added in v1.1.4

func SpinnerDemoCmd() *cliapp.Command

Types

type GitInfoData

type GitInfoData struct {
	Tag       string `json:"tag" description:"get tag name"`
	Version   string `json:"version" description:"git repo version."`
	ReleaseAt string `json:"releaseAt" description:"latest commit date"`
}

type Names

type Names []string

The string flag list, implemented flag.Value interface

func (*Names) Set

func (ns *Names) Set(value string) error

func (*Names) String

func (ns *Names) String() string

Jump to

Keyboard shortcuts

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