bestool_psql/config.rs
1use crate::{pool::PgPool, theme::Theme};
2
3#[derive(Clone, Debug)]
4pub struct Config {
5 /// Database connection pool
6 pub pool: PgPool,
7
8 /// Syntax highlighting theme
9 pub theme: Theme,
10
11 /// Path to audit database
12 pub audit_path: Option<std::path::PathBuf>,
13
14 /// Whether write mode is enabled upon entering the REPL
15 pub write: bool,
16
17 /// Whether to use colours in output
18 pub use_colours: bool,
19}