cmd

package
v2.1.2131-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: MIT Imports: 15 Imported by: 2

Documentation

Index

Constants

View Source
const ExtraRoots = "root"
View Source
const ForceInput = "forceinput"
View Source
const Format = "format"
View Source
const FormatDescription = "specification format to convert specification from: spec-2.0, openapi"
View Source
const InFile = "in-file"
View Source
const InFileDescription = "path for input specification file"
View Source
const NoInput = "noinput"
View Source
const NoOverwrites = "nooverwrites"
View Source
const OutFile = "out-file"
View Source
const OutFileDescription = "path to output file"
View Source
const OutPath = "out"
View Source
const Set = "set"
View Source
const Source = "source"
View Source
const SpecFile = "spec-file"
View Source
const SpecFileDescription = "path to specification file"
View Source
const Values = "values"

Variables

This section is empty.

Functions

func Execute

func Execute()

func Fail added in v2.1.2046

func Fail(args ...interface{})

func FailF added in v2.1.2046

func FailF(format string, args ...interface{})

func FailIfError added in v2.1.2046

func FailIfError(err error, args ...interface{})

func FailIfErrorF added in v2.1.2046

func FailIfErrorF(err error, format string, args ...interface{})

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