cmds

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUpdateUICommand

func NewUpdateUICommand() (cmds.BareCommand, error)

NewUpdateUICommand creates a new update-ui command

Types

type UpdateUICommand

type UpdateUICommand struct {
	*cmds.CommandDescription
}

UpdateUICommand is a command to update the UI with a YAML file

func (*UpdateUICommand) Run

func (c *UpdateUICommand) Run(
	ctx context.Context,
	parsedLayers *layers.ParsedLayers,
) error

Run implements the BareCommand interface

type UpdateUISettings

type UpdateUISettings struct {
	Host string `glazed.parameter:"host"`
	Port int    `glazed.parameter:"port"`
	File string `glazed.parameter:"file"`
}

UpdateUISettings contains the settings for the update-ui command

Jump to

Keyboard shortcuts

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