diff --git a/packages/cli/src/lib.rs b/packages/cli/src/lib.rs deleted file mode 100644 index 442a7c114..000000000 --- a/packages/cli/src/lib.rs +++ /dev/null @@ -1,24 +0,0 @@ -#![doc = include_str!("../README.md")] -#![doc(html_logo_url = "https://avatars.githubusercontent.com/u/79236386")] -#![doc(html_favicon_url = "https://avatars.githubusercontent.com/u/79236386")] - -pub mod assets; -pub mod dx_build_info; -pub mod serve; -pub mod tools; - -pub mod cli; -pub use cli::*; - -pub mod error; -pub use error::*; - -pub(crate) mod builder; - -mod dioxus_crate; -pub use dioxus_crate::*; - -mod settings; -pub(crate) use settings::*; - -pub(crate) mod metadata; diff --git a/packages/cli/src/main.rs b/packages/cli/src/main.rs index 62bd976ad..01338f692 100644 --- a/packages/cli/src/main.rs +++ b/packages/cli/src/main.rs @@ -1,9 +1,33 @@ +#![doc = include_str!("../README.md")] +#![doc(html_logo_url = "https://avatars.githubusercontent.com/u/79236386")] +#![doc(html_favicon_url = "https://avatars.githubusercontent.com/u/79236386")] + +pub mod assets; +pub mod dx_build_info; +pub mod serve; +pub mod tools; + +pub mod cli; +pub use cli::*; + +pub mod error; +pub use error::*; + +pub(crate) mod builder; + +mod dioxus_crate; +pub use dioxus_crate::*; + +mod settings; +pub(crate) use settings::*; + +pub(crate) mod metadata; + use std::env; use tracing_subscriber::{prelude::*, EnvFilter, Layer}; use anyhow::Context; use clap::Parser; -use dioxus_cli::*; use Commands::*;