finally fix workflow i hope

This commit is contained in:
Chance 2025-01-11 15:28:01 -05:00 committed by BitSyndicate
parent 53996ec2ba
commit b9f1733126
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 443E4198D6BBA6DE
8 changed files with 113 additions and 126 deletions

View file

@ -140,7 +140,6 @@ impl CommandManager {
.insert(command.get_name().to_lowercase(), command);
}
pub fn add_alias(&mut self, alias: &str, command: &str) {
self.aliases.insert(
alias.to_string().to_lowercase(),
@ -149,7 +148,6 @@ impl CommandManager {
}
}
pub trait Command: Send + Sync {
fn execute(&self, args: Option<Vec<String>>) -> Result<(), anyhow::Error>;
fn undo(&self);