begin actual work

master
Avril 4 years ago
parent 9310fa6834
commit af99394c2e
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -66,11 +66,18 @@ fn install_tracing() {
.init();
}
#[instrument]
async fn work(op: config::Operation) -> Result<(), eyre::Report>
{
debug!("Got op: {:#?}", op);
debug!("Got op");
match op {
config::Operation::Help => args::usage(),
config::Operation::GenerateKey(config::op::GenerateKey::Aes(aes)) => {
},
config::Operation::GenerateKey(config::op::GenerateKey::Rsa(rsa)) => {
},
_ => todo!(),
}
Ok(())

Loading…
Cancel
Save