helpers

package
v0.4.18 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHelperCommands

func RegisterHelperCommands(rootCmd *cobra.Command) error

Types

type ExtractMdCommand

type ExtractMdCommand struct {
	*cmds.CommandDescription
}

func NewExtractMdCommand

func NewExtractMdCommand() (*ExtractMdCommand, error)

func (*ExtractMdCommand) RunIntoWriter

func (c *ExtractMdCommand) RunIntoWriter(ctx context.Context, parsedLayers *layers.ParsedLayers, w io.Writer) error

type ExtractMdSettings

type ExtractMdSettings struct {
	Output           string   `glazed.parameter:"output"`
	WithQuotes       bool     `glazed.parameter:"with-quotes"`
	File             string   `glazed.parameter:"file"`
	AllowedLanguages []string `glazed.parameter:"allowed-languages"`
	BlockType        string   `glazed.parameter:"blocks"`
}

Jump to

Keyboard shortcuts

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