cmd

package
v2.1.856 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: MIT Imports: 18 Imported by: 2

Documentation

Index

Constants

View Source
const GeneratePath = "generate-path"
View Source
const GeneratePathDescription = "Path to generate source code into"
View Source
const ModuleName = "module-name"
View Source
const ModuleNameDescription = "Module name"
View Source
const OutFile = "out-file"
View Source
const OutFileDescription = "Path to output file"
View Source
const PackageName = "package-name"
View Source
const PackageNameDescription = "Package name"
View Source
const ServicesPath = "services-path"
View Source
const ServicesPathDescription = "Path to scaffold services code"
View Source
const SpecFile = "spec-file"
View Source
const SpecFileDescription = "Path to specification file"
View Source
const SwaggerPath = "swagger-path"
View Source
const SwaggerPathDescription = "Path of generated OpenAPI (Swagger) specification file"
View Source
const TsServer = "server"
View Source
const TsServerDescription = "TypeScript server library: express, koa"
View Source
const Validation = "validation"
View Source
const ValidationDescription = "TypeScript validation library: superstruct, io-ts"

Variables

This section is empty.

Functions

func Execute

func Execute()

func GenCommandMarkdown added in v2.0.821

func GenCommandMarkdown(cmdPath []string, cmd *cobra.Command, w io.Writer) error

func GenCommandsMarkdown added in v2.0.821

func GenCommandsMarkdown(cmdPath []string, cmd *cobra.Command, w io.Writer) error

func GenMarkdownDocumentation added in v2.0.821

func GenMarkdownDocumentation(cmd *cobra.Command, filename string) error

func GenRootCommandMarkdown added in v2.0.821

func GenRootCommandMarkdown(cmd *cobra.Command, w io.Writer) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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