fix: change init to create

This commit is contained in:
mrxiaozhuox committed 2022-01-24 12:16:02 +08:00
1 parent d695777402
commit 4cc7752adf
4 files changed
+11 -12

No files matched your search

+3 -3
View File
@@ -34,9 +34,9 @@ async fn main() -> Result<()> {
}
}
Commands::Init(opts) => {
if let Err(e) = opts.init() {
log::error!("init error: {}", e);
Commands::Create(opts) => {
if let Err(e) = opts.create() {
log::error!("create error: {}", e);
}
}
}