config

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2025 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 CollectionConfig

type CollectionConfig struct {
	Name         string            `yaml:"name"`
	Help         string            `yaml:"help"`
	Readme       string            `yaml:"readme"`
	Runnables    []string          `yaml:"runnables"`
	Environments map[string]string `yaml:"environments"`
}

CollectionConfig represents the configuration for a collection.

func LoadCollectionConfig

func LoadCollectionConfig(path string) (*CollectionConfig, error)

LoadCollectionConfig loads the collection configuration from the given path.

type RunnableConfig

type RunnableConfig struct {
	Name         string            `yaml:"name"`
	Help         string            `yaml:"help"`
	Readme       string            `yaml:"readme"`
	Run          string            `yaml:"run"`
	Before       string            `yaml:"before"`
	After        string            `yaml:"after"`
	Environments map[string]string `yaml:"environments"`
}

RunnableConfig represents the configuration for a runnable.

func LoadRunnableConfig

func LoadRunnableConfig(path string) (*RunnableConfig, error)

LoadRunnableConfig loads the runnable configuration from the given path.

Jump to

Keyboard shortcuts

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