CLI reference / Navigate
cumaru get
Print selected line ranges of .cumaru/ Markdown files.
Synopsis
cumaru get <path[:range]>... Arguments and options
| Argument or option | Meaning |
|---|---|
<path[:range]>... | One or more selectors relative to .cumaru/: path, path:N, path:N,M, path:N,$, path:,M, path:N,+K, path:N,-K. |
Side effects
- Writes: None. Read-only and atomic.
- Network: None. Offline.
Behavior
- Each selector prints a header with the resolved range, then its lines verbatim. Leading and trailing blank lines are trimmed.
- Every selector is validated before anything prints.
- Output is limited to 32768 bytes.
Example
cumaru get specs/auth.md:18,42 Failures
- Exit 2: malformed or reversed range, line past the end, or empty file.
- Exit 1: unsafe path, non-Markdown target, unreadable or non-UTF-8 file, or output over budget.
Sources: docs/get.md; cumaru get --help of CLI 0.15.3.