Help us shape the future of Go! Take the 2026 Go Developer Survey

set

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package set implements the `set` shell built-in. The command tweaks shell-option flags (-e, -u, -x, -o pipefail, etc.) and positional parameters. mvdan/sh implements `set` natively; the registered version here is reachable via /bin/set as a diagnostic surface (option flags are recorded into c.Shopt under "set:<flag>" so tests can observe them; positional-parameter mutation is NOT propagated to the runner).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() command.Command

New returns the set command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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