feat: basic autofmt

This commit is contained in:
Jonathan Kelley committed 2022-04-24 03:24:41 -04:00
1 parent 3269b2b5aa
commit 84f0245f6c
9 files changed
+127 -38

No files matched your search

+6
View File
@@ -48,6 +48,12 @@ async fn main() -> Result<()> {
log::error!("tool error: {}", e);
}
}
Commands::Autoformat(opts) => {
if let Err(e) = opts.autoformat() {
log::error!("format error: {}", e);
}
}
}
Ok(())