Help us shape the future of Go! Take the 2026 Go Developer Survey

cli

package
v1.5.38 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conformance

type Conformance struct {
	Conformance string   `arg:"" help:"conformance string" required:""`
	Params      []string `arg:"" help:"parameters to use to evaluate conformance" optional:""`
}

func (*Conformance) Run

func (cmd *Conformance) Run(cc *Context) (err error)

type Context

type Context struct {
	context.Context

	Kong *kong.Context
}

type DataModel

type DataModel struct {
	common.ASCIIDocAttributes  `embed:""`
	spec.ParserOptions         `embed:""`
	pipeline.ProcessingOptions `embed:""`
	files.OutputOptions        `embed:""`
	dm.DataModelOptions        `embed:""`

	spec.FilterOptions `embed:""`
}

func (*DataModel) Run

func (c *DataModel) Run(cc *Context) (err error)

type Disco

type Disco struct {
	disco.DiscoOptions `embed:""`

	spec.ParserOptions         `embed:""`
	common.ASCIIDocAttributes  `embed:""`
	pipeline.ProcessingOptions `embed:""`
	render.RenderOptions       `embed:""`
	files.OutputOptions        `embed:""`

	Paths []string `arg:"" optional:"" help:"The paths of AsciiDoc files to disco-ball. If not specified, all files will be disco-balled."`
}

func (*Disco) Run

func (d *Disco) Run(cc *Context) (err error)

type Format

type Format struct {
	pipeline.ProcessingOptions `embed:""`
	files.OutputOptions        `embed:""`
	render.RenderOptions       `embed:""`

	Paths []string `arg:"" help:"Paths of AsciiDoc files to format" required:""`
}

func (*Format) Run

func (f *Format) Run(cc *Context) (err error)

type TestPlan

type TestPlan struct {
	testplanRender.RendererOptions `embed:""`

	common.ASCIIDocAttributes  `embed:""`
	spec.ParserOptions         `embed:""`
	spec.FilterOptions         `embed:""`
	pipeline.ProcessingOptions `embed:""`
	files.OutputOptions        `embed:""`
}

func (*TestPlan) Run

func (c *TestPlan) Run(cc *Context) (err error)

type TestScript

type TestScript struct {
	sdk.SDKOptions             `embed:""`
	common.ASCIIDocAttributes  `embed:""`
	pipeline.ProcessingOptions `embed:""`
	spec.ParserOptions         `embed:""`
	spec.FilterOptions         `embed:""`
	python.GeneratorOptions    `embed:""`
	files.OutputOptions        `embed:""`
}

func (*TestScript) Run

func (cmd *TestScript) Run(cc *Context) (err error)

type Validate

type Validate struct {
	common.ASCIIDocAttributes  `embed:""`
	spec.ParserOptions         `embed:""`
	pipeline.ProcessingOptions `embed:""`
}

func (*Validate) Run

func (c *Validate) Run(cc *Context) (err error)

type Wordlist

type Wordlist struct {
	spec.ParserOptions `embed:""`
}

func (*Wordlist) Run

func (f *Wordlist) Run(cc *Context) (err error)

type Yaml2Python

type Yaml2Python struct {
	common.ASCIIDocAttributes  `embed:""`
	pipeline.ProcessingOptions `embed:""`
	files.OutputOptions        `embed:""`
	spec.ParserOptions         `embed:""`
	render.RenderOptions       `embed:""`
	sdk.SDKOptions             `embed:""`
	python.GeneratorOptions    `embed:""`

	Paths []string `arg:""`
}

func (*Yaml2Python) Run

func (c *Yaml2Python) Run(cc *Context) (err error)

type ZAP

type ZAP struct {
	common.ASCIIDocAttributes  `embed:""`
	pipeline.ProcessingOptions `embed:""`
	files.OutputOptions        `embed:""`
	spec.ParserOptions         `embed:""`
	spec.FilterOptions         `embed:""`
	sdk.SDKOptions             `embed:""`
	render.TemplateOptions     `embed:""`
}

func (*ZAP) Run

func (z *ZAP) Run(cc *Context) (err error)

Jump to

Keyboard shortcuts

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