1pub mod config;
2pub mod dates;
3pub mod db;
4pub mod export;
5pub mod frontmatter;
6pub mod model;
7pub mod notify;
8pub mod output;
9pub mod prefs;
10pub mod search;
11pub mod store;
12pub mod verbose;
13
14#[cfg(feature = "cli")]
15pub(crate) mod cli;
16#[cfg(feature = "cli")]
17pub(crate) mod mcp;
18#[cfg(feature = "cli")]
19pub(crate) mod runner;
20
21pub use model::{Attachment, Note, PinRecord, Tag};
22pub use store::SqliteStore;
23
24#[cfg(feature = "cli")]
25pub fn run() -> anyhow::Result<()> {
26 runner::run()
27}