feat: add init command
This commit is contained in:
1 parent
d18a93f129
commit
0e2c05be66
15 files changed
+151
-192
No files matched your search
+6
-2
@@ -5,6 +5,7 @@ pub mod cfg;
|
||||
pub mod clean;
|
||||
pub mod serve;
|
||||
pub mod translate;
|
||||
pub mod init;
|
||||
|
||||
/// Build, bundle, & ship your Dioxus app.
|
||||
///
|
||||
@@ -27,12 +28,15 @@ pub struct Cli {
|
||||
|
||||
#[derive(StructOpt)]
|
||||
pub enum Commands {
|
||||
// /// Build the Rust WASM app and all of its assets.
|
||||
/// Build the Rust WASM app and all of its assets.
|
||||
Build(build::Build),
|
||||
/// Translate some source file into Dioxus code.
|
||||
Translate(translate::Translate),
|
||||
// /// Build, watch & serve the Rust WASM app and all of its assets.
|
||||
/// Build, watch & serve the Rust WASM app and all of its assets.
|
||||
Serve(serve::Serve),
|
||||
/// Init a new project for Dioxus.
|
||||
Init(init::Init),
|
||||
|
||||
// /// Clean output artifacts.
|
||||
// Clean(clean::Clean),
|
||||
|
||||
|
||||
Reference in new issue
Block a user