Skip to content

Pass args after -- to the executable during run and serve #4212

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ealmloff
Copy link
Member

@ealmloff ealmloff commented May 27, 2025

You can pass args to the executable(s) opened by dx after a trailing -- just like cargo run:

dx serve -- arg1 arg2
dx run -- arg1 arg2

Fixes #4122

@ealmloff ealmloff requested a review from a team as a code owner May 27, 2025 18:36
@ealmloff ealmloff added bug Something isn't working cli Related to the dioxus-cli program labels May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli Related to the dioxus-cli program
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Passing --args to dx serve shouldn't be a no-op
1 participant