Update dependencies and version

This commit is contained in:
bytedream 2024-01-02 23:59:44 +01:00
parent 172e3612d0
commit 283a3802b2
11 changed files with 273 additions and 203 deletions

View file

@ -24,12 +24,11 @@ pub use download::Download;
pub use login::Login;
pub use search::Search;
#[async_trait::async_trait(?Send)]
trait Execute {
fn pre_check(&mut self) -> Result<()> {
Ok(())
}
async fn execute(mut self, ctx: Context) -> Result<()>;
async fn execute(self, ctx: Context) -> Result<()>;
}
#[derive(Debug, Parser)]