script

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	File  string
	Tasks []uinit.Task
}

Args describes yaml arguments we take

type Script

type Script struct{}

Script simply echoes some text

func (*Script) Args

func (*Script) Args() interface{}

Args returns a struct pointer describing our module's argument structure

func (*Script) Run

func (*Script) Run(ctx *uinit.ModuleContext, iargs interface{}) (err error)

Run the module

Jump to

Keyboard shortcuts

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