Skip to content

Commit

Permalink
chore(CLI): clarified dx new post-create message
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew15-5 committed Dec 18, 2024
1 parent c2952a7 commit c85cd16
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion packages/cli/src/cli/create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,18 @@ pub(crate) fn post_create(path: &Path) -> Result<()> {
let mut file = std::fs::File::create(readme_path)?;
file.write_all(new_readme.as_bytes())?;

tracing::info!(dx_src = ?TraceSrc::Dev, "Generated project at {}\n\n`cd` to your project and run `dx serve` to start developing.\nIf using Tailwind, make sure to run the Tailwind CLI.\nMore information is available in the generated `README.md`.\n\nBuild cool things! ✌️", path.display());
tracing::info!(
dx_src = ?TraceSrc::Dev,
"Generated project at {}\n\
\n\
`cd` to your project and run `dx serve` (if you didn't choose to use Dioxus Fullstack\n\
or `dx serve --platform <PLATFORM>` if you did) to start developing.\n\
If you are using Tailwind, make sure to run the Tailwind CLI.\n\
More information is available in the generated `README.md`.\n\
\n\
Build cool things! ✌️",
path.display()
);

Ok(())
}
Expand Down

0 comments on commit c85cd16

Please sign in to comment.