scripts

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &Z.Cmd{
	Name:    `scripts`,
	Summary: `call custom scripts`,
	Aliases: []string{"s"},
	Commands: []*Z.Cmd{

		help.Cmd,

		weather, ipcheck, til, hugo, envCheck, ipinfo, pfsenseManager, epochDate,
	},
}
View Source
var ScriptFiles embed.FS

Functions

func Retriever

func Retriever(filename string) (string, error)

Retriever reads the file provided and returns its data. It expects a valid shell script. A temp file is created and that filename is then returned to be called by Z.Exec

Types

This section is empty.

Jump to

Keyboard shortcuts

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