mod issues;
mod mrs;
mod notes;
mod render_helpers;

pub use issues::{
    IssueListRow, IssueListRowJson, ListFilters, ListResult, ListResultJson, open_issue_in_browser,
    print_list_issues, print_list_issues_json, run_list_issues,
};
pub use mrs::{
    MrListFilters, MrListResult, MrListResultJson, MrListRow, MrListRowJson, open_mr_in_browser,
    print_list_mrs, print_list_mrs_json, run_list_mrs,
};
pub use notes::{
    NoteListFilters, NoteListResult, NoteListResultJson, NoteListRow, NoteListRowJson,
    print_list_notes, print_list_notes_json, query_notes,
};

#[cfg(test)]
use crate::core::path_resolver::escape_like as note_escape_like;
#[cfg(test)]
use render_helpers::{format_discussions, format_note_parent, format_note_type, truncate_body};
#[cfg(test)]
use rusqlite::Connection;

#[cfg(test)]
#[path = "list_tests.rs"]
mod tests;
