list_documents

Function list_documents 

Source
pub fn list_documents(subdir: Option<DocumentType>) -> Result<ActiveDocuments>
Expand description

List documents in the active work directory.

§Arguments

  • subdir - Optional filter for a specific document type. If None, lists research, plans, artifacts (but NOT logs by default - logs must be explicitly requested).

§Returns

An ActiveDocuments with the base path and list of files.