handler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GenCommand = cli.Command{
	Name:   "gen",
	Usage:  "generate mocks",
	Action: Gen,
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:  "config, c",
			Usage: "configuration file path",
			Value: "",
		},
	},
}

GenCommand is the sub command "gen".

View Source
var InitCommand = cli.Command{
	Name:   "init",
	Usage:  "create a configuration file if it doesn't exist",
	Action: Init,
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:  "dest, d",
			Usage: "created configuration file path",
			Value: ".gomic.yml",
		},
	},
}

InitCommand is the sub command "init".

Functions

func Gen

func Gen(c *cli.Context) error

Gen is the sub command "gen".

func Gomock

func Gomock()

Gomock calls a command.

func Init

func Init(c *cli.Context) error

Init is the sub command "init".

Types

This section is empty.

Jump to

Keyboard shortcuts

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