parser

package
v0.0.0-...-756ca71 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunGroup

func RunGroup(group Group)

RunGroup runs the tasks within a group

func RunTask

func RunTask(task Task) error

Types

type Group

type Group struct {
	Name  string
	Tasks []Task
}

func ParseGroupSyntax

func ParseGroupSyntax(input string) (Group, error)

type Task

type Task struct {
	Name    string
	Command string
}

func ParseTaskSyntax

func ParseTaskSyntax(input string) (Task, error)

Jump to

Keyboard shortcuts

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