summaryrefslogtreecommitdiff
path: root/src/commands/mod.rs
blob: df2d85766200774a41b857bc76b042e41289dd69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::Data;

use color_eyre::eyre::Report;
use poise::Command;

mod general;
mod optional;

pub fn to_global_commands() -> Vec<Command<Data, Report>> {
	general::to_comands()
}

pub fn to_optional_commands() -> Vec<Command<Data, Report>> {
	optional::to_commands()
}