summaryrefslogtreecommitdiff
path: root/src/commands/mod.rs
blob: b20258cb224d92bdc13097d43d06cdf7d21a154d (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 global() -> Vec<Command<Data, Report>> {
	general::to_comands()
}

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