2022-06-17 11:43:23 +00:00
|
|
|
//! Build-in commands
|
|
|
|
|
2022-06-04 11:58:21 +00:00
|
|
|
mod help;
|
|
|
|
|
2022-06-05 14:08:13 +00:00
|
|
|
use crate::plugins::Command;
|
2022-06-04 11:58:21 +00:00
|
|
|
|
2022-06-21 10:33:13 +00:00
|
|
|
/// Register build-in commands
|
2022-06-04 11:58:21 +00:00
|
|
|
pub fn register_commands() -> Vec<Box<dyn Command>> {
|
2022-06-21 10:33:13 +00:00
|
|
|
// create array with build-in commands
|
2022-06-16 17:31:09 +00:00
|
|
|
vec![Box::new(help::CommandHelp)]
|
2022-06-04 11:58:21 +00:00
|
|
|
}
|