shell

package
v0.1.0-dev.20260308222923 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package shell provides shell command execution actions for the operation graph.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	op.ProviderBase
}

Provider provides shell command execution.

+devlore:access=both

func (*Provider) Exec

func (p *Provider) Exec(command string) (string, error)

Exec executes a POSIX shell command.

Parameters:

  • command: Shell command string to execute via sh -c

func (*Provider) PowerShell

func (p *Provider) PowerShell(command string) (string, error)

PowerShell executes a PowerShell command (Windows).

Parameters:

  • command: PowerShell command string to execute

Jump to

Keyboard shortcuts

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