promptFile property

String? promptFile
final

--prompt-file <path> (alias -f): read the file as UTF-8 text and send it verbatim as the headless prompt — never further resolved. Mutually exclusive with prompt and positionals. The path is resolved by the executable's IO layer; a missing/unreadable file is a usage error (CliArgsException from resolveHeadlessPrompt).

Implementation

final String? promptFile;