cmd

package
v2.1.1180 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: MIT Imports: 21 Imported by: 2

Documentation

Index

Constants

View Source
const Format = "format"
View Source
const FormatDescription = "specification format to convert specification from: spec-2.0, openapi"
View Source
const GeneratePath = "generate-path"
View Source
const GeneratePathDescription = "path to generate source code into"
View Source
const InFile = "in-file"
View Source
const InFileDescription = "path for input specification file"
View Source
const KotlinJsonLib = "jsonlib"
View Source
const KotlinJsonLibDescription = "Kotlin JSON library: jackson"
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 TsClient = "client"
View Source
const TsClientDescription = "client TypeScript library: axios, node-fetch, browser-fetch"
View Source
const TsServer = "server"
View Source
const TsServerDescription = "server TypeScript library: express, koa"
View Source
const TsValidation = "validation"
View Source
const TsValidationDescription = "validation TypeScript library: superstruct, io-ts"

Variables

This section is empty.

Functions

func Execute

func Execute()

func GenCommandMarkdown added in v2.0.821

func GenCommandMarkdown(m *markdown.Markdown, cmdPath []string, command *cobra.Command)

func GenCommandsMarkdown added in v2.0.821

func GenCommandsMarkdown(m *markdown.Markdown, commandPath []string, command *cobra.Command, skipCommands []string)

func GenMarkdownDocumentation added in v2.0.821

func GenMarkdownDocumentation(cmd *cobra.Command, filePath string, skipCommands []string) error

func GenRootCommandMarkdown added in v2.0.821

func GenRootCommandMarkdown(m *markdown.Markdown, command *cobra.Command, skipCommands []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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