scripts

package
v0.0.0-...-1ff6eae Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2026 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmbeddedScripts

type EmbeddedScripts struct {
	// contains filtered or unexported fields
}

func NewEmbeddedScripts

func NewEmbeddedScripts() (*EmbeddedScripts, error)

func (*EmbeddedScripts) GetListOfScriptInfo

func (es *EmbeddedScripts) GetListOfScriptInfo() []infofile.InfoFile

func (*EmbeddedScripts) GetListOfScripts

func (es *EmbeddedScripts) GetListOfScripts() []TouchyScript

func (*EmbeddedScripts) GetScriptInfoFor

func (es *EmbeddedScripts) GetScriptInfoFor(scriptName string) infofile.InfoFile

func (*EmbeddedScripts) HasScript

func (es *EmbeddedScripts) HasScript(scriptName string) bool

func (*EmbeddedScripts) Run

func (es *EmbeddedScripts) Run(scriptName string, system goscriptsystem.ScriptSystem, args []string) error

type Scripts

type Scripts interface {
	GetScriptInfoFor(scriptName string) infofile.InfoFile
	GetListOfScripts() []TouchyScript
	GetListOfScriptInfo() []infofile.InfoFile
	HasScript(scriptName string) bool
	Run(scriptName string, system goscriptsystem.ScriptSystem, argsl []string) error
}

type TouchyScript

type TouchyScript struct {
	// contains filtered or unexported fields
}

type TouchyScriptsManager

type TouchyScriptsManager struct {
	// contains filtered or unexported fields
}

func New

func New() *TouchyScriptsManager

func (*TouchyScriptsManager) GatherScripts

func (manager *TouchyScriptsManager) GatherScripts()

func (*TouchyScriptsManager) GetListOfScriptInfo

func (manager *TouchyScriptsManager) GetListOfScriptInfo() []infofile.InfoFile

func (*TouchyScriptsManager) GetListOfScripts

func (manager *TouchyScriptsManager) GetListOfScripts() []TouchyScript

func (*TouchyScriptsManager) GetNumberOfScripts

func (manager *TouchyScriptsManager) GetNumberOfScripts(name string) int

func (*TouchyScriptsManager) Run

func (manager *TouchyScriptsManager) Run(scriptName string, args []string) error

type UserScripts

type UserScripts struct {
	// contains filtered or unexported fields
}

func NewUserScripts

func NewUserScripts() (*UserScripts, error)

func (*UserScripts) GetListOfScriptInfo

func (us *UserScripts) GetListOfScriptInfo() []infofile.InfoFile

func (*UserScripts) GetListOfScripts

func (us *UserScripts) GetListOfScripts() []TouchyScript

func (*UserScripts) GetScriptInfoFor

func (us *UserScripts) GetScriptInfoFor(scriptName string) infofile.InfoFile

func (*UserScripts) HasScript

func (us *UserScripts) HasScript(scriptName string) bool

func (*UserScripts) Run

func (us *UserScripts) Run(scriptName string, system goscriptsystem.ScriptSystem, args []string) error

Jump to

Keyboard shortcuts

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