embed

package
v0.0.0-...-64f444e Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdEmbed

func NewCmdEmbed(baseName string) *cobra.Command

func NewCmdSwagger

func NewCmdSwagger(baseName string) *cobra.Command

Types

type EmbedOptions

type EmbedOptions struct {
	// contains filtered or unexported fields
}

EmbedOptions defines flags and other configuration parameters for the `embed` command

func NewEmbedOption

func NewEmbedOption() *EmbedOptions

NewEmbedOption creates new ApplyOptions for the `embed` command

func (*EmbedOptions) Run

func (o *EmbedOptions) Run() error

type SwaggerOptions

type SwaggerOptions struct {
	JsonFile      string
	OutputFile    string
	OutputPackage string
	// contains filtered or unexported fields
}

SwaggerOptions defines flags and other configuration parameters for the `swagger` command

func NewSwaggerOption

func NewSwaggerOption() *SwaggerOptions

NewSwaggerOption creates new ApplyOptions for the `swagger` command

func (*SwaggerOptions) Complete

func (o *SwaggerOptions) Complete(cmd *cobra.Command) error

func (*SwaggerOptions) Run

func (o *SwaggerOptions) Run() error

Jump to

Keyboard shortcuts

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