shell

package
v0.0.0-...-3b05df2 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Suffix = ""

Suffix provides the shell script suffix. For posix systems this value is an empty string.

Variables

This section is empty.

Functions

func Command

func Command() (string, []string)

Command returns the shell command and arguments.

func EchoEnvCommand

func EchoEnvCommand(env string, command string) []string

func Script

func Script(commands []string) string

Script converts a slice of individual shell commands to a posix-compliant shell script.

Types

This section is empty.

Jump to

Keyboard shortcuts

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