Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(CLI): clarified dx new post-create message #3395

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading