cmd

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GitCommit string
	GitTag    string
	BuildDate string
)

App Info Vars

View Source
var (
	ErrHelp                    = errors.New("flag: help requested")
	ErrParsedOver              = errors.New("arguments: parsed over")
	ErrParsedDoubleStrike      = errors.New("warning: unexpacted flag --")
	ErrParsedNoMainFlagValue   = errors.New("warning: no value found in Mian flag")
	ErrParsedNoSubCmdFlagValue = errors.New("warning: no value found in SubCmd flag")
)

var defination

Functions

func Init

func Init(options ...micro.Option)

Init initialised the command line

func Setup

func Setup(app *ccli.App, options ...micro.Option)

Setup sets up a cli.App

Types

This section is empty.

Directories

Path Synopsis
usage

Jump to

Keyboard shortcuts

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