Enums§
- Conflict
Choice - The user’s response to a conflict resolution prompt.
- Status
- Status indicator for an entry.
- Sync
Badge - Sync and diff state badges shown alongside each status line.
Constants§
Functions§
- confirm
- Ask a yes/no question. Returns
truefor yes. - conflict_
header - Print a conflict header for a single entry.
- conflict_
prompt - Interactive conflict resolution prompt.
- dim
- Print a dimmed line.
- error
- Print an error message:
✗ <message> - header
- Print a section header.
- hint
- Print a hint (verbose-only) message:
<message> - info
- Print an info message:
· <message> - merge_
clean_ notice - Print a notice that a 3-way merge was clean (no conflict markers).
- merge_
conflict_ notice - Print a notice that a 3-way merge succeeded with conflict markers.
- paint
- Apply a color if colors are enabled.
- password
- Prompt for a password (input hidden on Unix).
- print_
diff - Print a unified-diff-style comparison between two texts.
- status_
line - Print a status line for an entry, with an optional sync badge.
- success
- Print a success message:
✓ <message> - summary
- Print a summary line after a batch operation.
- warning
- Print a warning message:
⚠ <message>