distfile

package
v1.1.0-next.1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(inv *inventory.Inventory) (string, error)

Build generates a Distfile string from the inventory data.

Types

type Command

type Command struct {
	Action string
	Args   []string
}

Command represents a parsed command from the Distfile.

func Parse

func Parse(filePath string) ([]Command, error)

Parse parses the given Distfile and returns a list of commands.

Jump to

Keyboard shortcuts

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