cmds

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfoCommand

type InfoCommand struct {
	*cmds.CommandDescription
}

func NewInfoCommand

func NewInfoCommand() (*InfoCommand, error)

func (*InfoCommand) RunIntoGlazeProcessor

func (i *InfoCommand) RunIntoGlazeProcessor(
	ctx context.Context,
	parsedLayers *layers.ParsedLayers,
	gp middlewares.Processor,
) error

type InfoSettings

type InfoSettings struct {
	Full bool `glazed.parameter:"full"`
}

type ServeCommand

type ServeCommand struct {
	*cmds.CommandDescription
	// contains filtered or unexported fields
}

func NewServeCommand added in v0.2.4

func NewServeCommand(
	repositories []string,
	options ...cmds.CommandDescriptionOption,
) (*ServeCommand, error)

func (*ServeCommand) Run

func (s *ServeCommand) Run(
	ctx context.Context,
	parsedLayers *layers.ParsedLayers,
) error

type ServeSettings added in v0.2.4

type ServeSettings struct {
	Dev         bool     `glazed.parameter:"dev"`
	Debug       bool     `glazed.parameter:"debug"`
	ContentDirs []string `glazed.parameter:"content-dirs"`
	ServePort   int      `glazed.parameter:"serve-port"`
	ServeHost   string   `glazed.parameter:"serve-host"`
	ConfigFile  string   `glazed.parameter:"config-file"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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