diff --git a/src/cli/autoformat/mod.rs b/src/cli/autoformat/mod.rs index 6716a3964..8d93584c3 100644 --- a/src/cli/autoformat/mod.rs +++ b/src/cli/autoformat/mod.rs @@ -1,3 +1,5 @@ +use std::process::exit; + use super::*; /// Build the Rust WASM app and all of its assets. @@ -61,16 +63,14 @@ rsx! { dbg!(out); } -/* -parse the whole doc -find all the comment blocks - - - - - - - - - -*/ +// parse the whole doc +// find all the comment blocks +// +// +// +// +// +// +// +// +// diff --git a/src/cli/mod.rs b/src/cli/mod.rs index c259bd838..ade829aca 100644 --- a/src/cli/mod.rs +++ b/src/cli/mod.rs @@ -83,6 +83,8 @@ impl Commands { Commands::Clean(_) => "clean", Commands::Config(_) => "config", Commands::Plugin(_) => "plugin", + Commands::Version(_) => "version", + Commands::Autoformat(_) => "fmt", } .to_string() } diff --git a/src/cli/translate/mod.rs b/src/cli/translate/mod.rs index 3e74b2e8e..bf519c4f9 100644 --- a/src/cli/translate/mod.rs +++ b/src/cli/translate/mod.rs @@ -1,3 +1,5 @@ +use std::process::exit; + use super::*; /// Build the Rust WASM app and all of its assets.