Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// Name is the binary name shown in help text, version output, and runtime
// error messages.
Name string
// Build contains the embedded build metadata shown by --version.
Build *BuildInfo
// BaseOptions are always applied when constructing the gbash runtime before
// any CLI filesystem flags are interpreted.
BaseOptions []gbash.Option
// TTYDetector overrides how stdin terminal detection is performed. When nil,
// [Run] uses the default os.File-based detector.
TTYDetector func(io.Reader) bool
}
Config controls how Run presents and configures the shared gbash CLI frontend.
Click to show internal directories.
Click to hide internal directories.