shellop

package
v0.0.0-...-b94449b Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package shellop contains shell operators.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Shell

type Shell struct {
	Args           interface{}
	NoValidateArgs bool
}

func (Shell) GetState

func (op Shell) GetState(octx operator.Context) (state.State, error)

func (Shell) Info

func (op Shell) Info() operator.Info

func (Shell) Run

func (op Shell) Run(octx operator.Context) error

type ShellOpts

type ShellOpts struct {
	Script    string   `json:"script"`
	Dir       string   `json:"dir,omitempty"`
	OnChanges []string `json:"on_change,omitempty"`
	Targets   []string `json:"targets,omitempty"`
	IgnoreREs []string `json:"ignore_re,omitempty"`
}

Jump to

Keyboard shortcuts

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