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

gobash

command
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: 15 Imported by: 0

Documentation

Overview

Command gobash is the CLI entry point for the go-bash runtime.

The argv surface is a strict superset of just-bash's CLI (vercel-labs/just-bash, packages/just-bash/src/cli/just-bash.ts): the overlapping flags (`-c`, `-e`/`--errexit`, `--root`, `--cwd`, `--allow-write`, `--json`, `-h`/`--help`, `-v`/`--version`, `--python`, `--javascript`, positional `[script-file]` / `[root-path]`, combined short flags like `-ec`) behave byte-identically. Go-side additions (`--no-network`, `--network-allow PREFIX`) are documented in --help and default off, so invocations that work against just-bash continue to work here.

The CLI is intentionally kept small: argv parsing + wiring BashOptions/ExecOptions, plus the `--root` host directory mounted at `/home/user/project` via overlayfs (read-only by default).

Jump to

Keyboard shortcuts

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