Pumpkin/pumpkin-config/src/commands.rs
2024-08-31 19:38:47 +02:00

15 lines
308 B
Rust

use serde::{Deserialize, Serialize};
#[derive(Deserialize, Serialize)]
pub struct CommandsConfig {
/// Are commands from the Console accepted ?
pub use_console: bool,
// TODO: commands...
}
impl Default for CommandsConfig {
fn default() -> Self {
Self { use_console: true }
}
}