Re-exports§
pub use clipboard::read_clipboard;pub use clipboard::write_clipboard;pub use summarization::summarize_text;pub use summarization::SummaryMetadata;
Modules§
Functions§
- confirm
- Prompt the user for confirmation
- detect_
content_ type - Detect content type from extension or content
- edit_
entry - Edit an existing entry
- expand_
path - Expand a path string with tilde and environment variables
- first_
line - Extract the first line of a string
- format_
with_ tag - Format content with tag
- get_
cursor_ position - Find the cursor position in a file This looks for a special marker like “// CURSOR” and returns its position
- get_
title_ from_ content - Get a title from content (first line or truncated content)
- input
- Prompt the user for input
- open_
editor - Open the system editor and return the content
- open_
editor_ with_ type - Open the system editor with syntax highlighting hints based on content type
- read_
file_ content - Read content from a file
- read_
stdin_ content - Read content from stdin
- select
- Prompt the user to select from a list of options
- truncate_
string - Truncate a string to a maximum length with ellipsis