metadata

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	Bun      string   `toml:"bun"`
	Packages []string `toml:"packages"`
}

Metadata represents the parsed // buns block from a script

func Parse

func Parse(content []byte) (*Metadata, error)

Parse extracts metadata from a script's // buns comment block

Jump to

Keyboard shortcuts

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