cli

package
v1.6.8 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2026 License: Apache-2.0 Imports: 33 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 ErrDiff added in v1.5.56

type ErrDiff struct {
	pipeline.ProcessingOptions `embed:""`
	files.OutputOptions        `embed:""`

	spec.FilterOptions `embed:""`

	HeadRoot string `name:"head-root" default:"connectedhomeip-spec" help:"the src root of your clone of CHIP-Specifications/connectedhomeip-spec"`
	BaseRoot string `name:"base-root" default:"connectedhomeip-spec" help:"the src root of your clone of CHIP-Specifications/connectedhomeip-spec"`
}

func (*ErrDiff) Run added in v1.5.56

func (c *ErrDiff) 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 MLE added in v1.6.4

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

func (*MLE) Run added in v1.6.4

func (m *MLE) Run(cc *Context) (err error)

type Provisional added in v1.6.0

type Provisional struct {
	pipeline.ProcessingOptions `embed:""`
	files.OutputOptions        `embed:""`

	spec.FilterOptions `embed:""`

	HeadRoot string `` /* 147-byte string literal not displayed */
	BaseRoot string `` /* 147-byte string literal not displayed */
}

func (*Provisional) Run added in v1.6.0

func (c *Provisional) 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