Documentation
¶
Overview ¶
Package optutil provides shared option resolution helpers for CLI backends.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendAddDirs ¶
AppendAddDirs appends --add-dir (or the given flagName) for each valid entry in OptionAddDirs. Entries must be absolute paths without leading dashes. Invalid entries are silently skipped.
func RootOptionsSet ¶
RootOptionsSet reports whether either OptionMode or OptionHITL is present in opts. When true, root options take precedence over backend-specific permission/sandbox options.
func ValidateEffort ¶
ValidateEffort checks that OptionEffort, if present, is a recognized value. The prefix is used in error messages (e.g., "claude", "codex").
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.