shell

package
v0.1.0-dev.20260301234141 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 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{}

Provider provides shell command execution.

+devlore:access=both

func (*Provider) Exec

func (p *Provider) Exec(command string, output io.Writer) (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, output io.Writer) (string, error)

PowerShell executes a PowerShell command (Windows).

Parameters:

  • command: PowerShell command string to execute

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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