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).