alias

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package alias provides unprefixed type aliases for exec command flags. This allows users to import and use shorter names:

import "github.com/gloo-foo/cmd-exec/alias"
exec.Exec("ls", "-la", alias.WorkingDir("/tmp"))

Index

Constants

View Source
const IgnoreErrors = command.ExecIgnoreErrors

ignore errors

View Source
const NoIgnoreErrors = command.ExecNoIgnoreErrors

default: fail on error

View Source
const NoQuiet = command.ExecNoQuiet

default: not quiet

View Source
const NoShell = command.ExecNoShell

default: direct execution

View Source
const Quiet = command.ExecQuiet

-q flag: quiet mode

View Source
const UseShell = command.ExecUseShell

use shell

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvVar

type EnvVar = command.ExecEnvVar

environment variable

type Shell

type Shell = command.ExecShell

shell to use

type WorkingDir

type WorkingDir = command.ExecWorkingDir

working directory

Jump to

Keyboard shortcuts

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