Read file content with line numbers.
read(
filePath: string,
offset: number = 0,
limit: number = 500
): Promise<ReadResult>| Name | Type | Description |
|---|---|---|
filePath* | string | Absolute or relative file path |
offset | number | Default: 0Line offset to start reading from (0-indexed) |
limit | number | Default: 500Maximum number of lines to read |