Discover Packages
github.com/0xmhha/cli-wrapper
pkg
sandbox
providers
scriptdir
package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Apr 9, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package scriptdir is a reference sandbox provider that writes scripts into
a temp directory and runs them via /bin/sh. It does NOT provide isolation
and exists only to demonstrate the script-injection pattern.
type Options struct {
BaseDir string
}
Options configures a scriptdir.Provider.
Provider is the scriptdir reference provider.
New returns a scriptdir provider.
Name returns "scriptdir".
Prepare creates a temp directory, writes every script into it, and returns
an Instance whose Exec runs the entrypoint via /bin/sh.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.