cmd

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColorCommand

func ColorCommand() *gcli.Command

ColorCommand command definition

func EmojiDemoCmd added in v1.1.2

func EmojiDemoCmd() *gcli.Command

func EnvInfoCommand

func EnvInfoCommand() *cli.Command

EnvInfoCommand

func ExampleCommand

func ExampleCommand() *gcli.Command

ExampleCommand command definition

func GitCommand

func GitCommand() *cli.Command

GitCommand

func InteractDemoCommand

func InteractDemoCommand() *gcli.Command

InteractDemoCommand create

func ProgressDemoCmd added in v1.1.2

func ProgressDemoCmd() *gcli.Command

func ShowDemoCommand

func ShowDemoCommand() *gcli.Command

ShowDemoCommand create

func SpinnerDemoCmd added in v1.1.4

func SpinnerDemoCmd() *gcli.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