executor

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MissingRepoError = errors.New("no repository with commands defined")

MissingRepoError indicates you have probably not configured toolbx. You should create configuration file and define Git repository where are commands defined:

echo "repository: https://github.com/sn3d/toolbx-demo.git" > ~/.toolbx.yaml

Functions

This section is empty.

Types

type ToolbxExecutor

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

func Create

func Create(cfg config.Configuration) *ToolbxExecutor

func (*ToolbxExecutor) Execute

func (e *ToolbxExecutor) Execute(args []string) error

Execute the given command. It might be dot command (e.g. '.configure') or user defined command that will invoke tool

Jump to

Keyboard shortcuts

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