interpoption

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package interpoption provides internal-only interpreter options that are not part of the public API. External consumers of the module cannot import this package due to Go's internal/ directory convention.

Index

Constants

This section is empty.

Variables

View Source
var AllowAllCommands func() any

AllowAllCommands returns a value of type interp.RunnerOption that permits execution of any command (builtin or external), bypassing the AllowedCommands restriction. It is populated by interp.init().

Callers must type-assert the result:

opt := interpoption.AllowAllCommands().(interp.RunnerOption)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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