Skip to main content

Module report

Module report 

Source

Functions§

handle_check
处理 check 命令: j check [line_count]
handle_report
处理 report 命令: j report <content…> 或 j reportctl new [date] / j reportctl sync [date]
handle_search
处理 search 命令: j search <line_count|all> [-f|-fuzzy]
write_to_report
将一条内容写入日报(供外部模块调用,如 todo 完成时联动写入) 返回 true 表示写入成功 注意:此函数静默执行,不输出任何 info!/error!,适合在 TUI raw mode 下调用