core

package
v0.0.0-...-00ec098 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Highlight

func Highlight(s string) string

Highlight performs syntax-highlighting on the given string.

Types

type Script

type Script struct {
	Command string
	Setup   []step.Setup
}

A script is a series of steps for installing, configuring, and running arbitrary command-line tools.

It's built around distinct, independently-defined step types: Setup, Update, Input, and Output.

func (*Script) Run

func (s *Script) Run(path string) error

Run the script with the provided args.

Jump to

Keyboard shortcuts

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