finally fix workflow i hope
This commit is contained in:
parent
53996ec2ba
commit
b9f1733126
8 changed files with 113 additions and 126 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue