dump

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

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

	Paths []string `arg:""`
	Ascii bool     `name:"ascii" help:"dump asciidoc object model"`
	Json  bool     `name:"json" help:"dump json object model"`
}

func (*Command) Run

func (d *Command) Run(cc *cli.Context) (err error)

type Options

type Options struct {
	ASCII bool
	JSON  bool
}

type Reader added in v1.6.0

type Reader interface {
	asciidoc.Reader
	SectionType(section *asciidoc.Section) matter.Section
}

Jump to

Keyboard shortcuts

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