Skip to content

file:read

← Back to CLI Commands

Read file with audit trail

pnpm file:read

Options:

FlagDescriptionRequired
--path <path>Path to file (alternative to positional)No
--encoding <enc>File encoding (default: utf-8)No
--start-line <n>Start line (1-based, inclusive)No
--end-line <n>End line (1-based, inclusive)No
--max-size <bytes>Maximum file size in bytesNo
--workspace-root <d>Contain reads to this directory (default: derived from git top-level / LumenFlow workspace root)No
--worktree-root <d>Stricter containment pinNo
--allow-outside-workspaceEscape workspace containment (recorded in audit)No

← Back to CLI Commands