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

feat: Improve new command #406

Merged
merged 1 commit into from
Dec 16, 2024
Merged

Conversation

luoxiaozero
Copy link

@benwis As discussed in Discord, I will contribute to the rewrite branch.

I don't want to do a very large PR at once, just a PR for the new command this time.

I removed the git parameter and used the template parameter instead:

cargo-leptos new --template leptos-rs/start-axum
cargo-leptos new --template https://github.com/leptos-rs/start-axum
cargo-leptos new --template DioxusLabs/dioxus-template --subtemplate Desktop
cargo-leptos new --template https://github.com/DioxusLabs/dioxus-template --subtemplate Desktop

@benwis
Copy link
Contributor

benwis commented Dec 16, 2024

Love to see you get started! My other idea for the new command is to create a wizard to let you choose features on cargo leptos new or leptos new.

@benwis benwis merged commit 99d6e51 into leptos-rs:rewrite Dec 16, 2024
5 of 8 checks passed
@luoxiaozero
Copy link
Author

Something like this?

> leptos new
Please select a template
- start-axum (https://github.com/leptos-rs/start-axum)
- start-actix (https://github.com/leptos-rs/start-actix)
> Project name:

@benwis
Copy link
Contributor

benwis commented Dec 18, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants