cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GenInterfaceCommand *cli.Command = &cli.Command{
	Name:  "gen-interface",
	Usage: "Generate interfaces from structs and their methods",
	Flags: []cli.Flag{
		&cli.StringFlag{
			Name:     "config-file",
			Aliases:  []string{"c"},
			Usage:    "Path to config file",
			Required: true,
		},
	},
	Action: genInterface,
}
View Source
var GenInterfaceInitCommand *cli.Command = &cli.Command{
	Name:  "gen-interface-init",
	Usage: "Generate starter .YAML file config for interface generation",
	Flags: []cli.Flag{
		&cli.StringFlag{
			Name:    "path",
			Aliases: []string{"p"},
			Value:   "gen-interface.yaml",
		},
	},
	Action: genInterfaceInit,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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