Summary
Allow users to reference documents and collections by partial title instead of requiring full URL IDs.
Details
Port the fuzzy reference resolution pattern from todoist-cli (src/lib/refs.ts):
- Accept multiple formats: exact ID, exact name match (case-insensitive), partial match
- If multiple matches found, error with suggestions
- Create
src/lib/refs.ts with resolveDocumentRef() and resolveCollectionRef() functions
Example
# Instead of:
outline document get https://app.getoutline.com/doc/abc123
# Allow:
outline document get "User Guide"
outline document get "Guide" # works if only one match
Effort
2-3 days
Reference
Based on todoist-cli pattern in src/lib/refs.ts
Summary
Allow users to reference documents and collections by partial title instead of requiring full URL IDs.
Details
Port the fuzzy reference resolution pattern from todoist-cli (
src/lib/refs.ts):src/lib/refs.tswithresolveDocumentRef()andresolveCollectionRef()functionsExample
Effort
2-3 days
Reference
Based on todoist-cli pattern in
src/lib/refs.ts