Cotton code
36 lines · 1.3 KB · RustRaw
//! Accounts, evidence, direct money rows and statements.pub mod accounts;pub mod book;pub mod classify;pub mod engine_shim;pub mod evidence;pub mod external;pub mod model;pub(crate) mod occurrences;pub mod rows;pub mod statement_visual_check;pub mod statements;pub mod transactions;use crate::mcp::dispatch::HandlerGroup;pub fn handlers() -> HandlerGroup {    &[        ("create_money_account", accounts::create_money_account),        ("update_money_account", accounts::update_money_account),        ("attach_evidence", evidence::attach_evidence),        ("remove_evidence", evidence::remove_evidence),        ("match_external", external::match_external),        ("mark_transfer", transactions::mark_transfer_tool),        ("set_tag", classify::set_tag),        ("set_person", classify::set_person),        ("set_period", classify::set_period),        ("read_statement", statements::read_statement),        (            "submit_statement_reading",            statements::submit_statement_reading,        ),        ("list_statements", statements::list_statements),        ("get_statement", statements::get_statement),        ("update_statement_line", statements::update_statement_line),        ("book_statement", statements::book_statement_tool),    ]}