distfile

package
v1.7.0-next.5 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(inv *inventory.Inventory, latest bool) (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