Skip to content

Allow passing arguments to application when running yarn tauri dev #1406

@yamgent

Description

@yamgent

Is your feature request related to a problem? Please describe.
Tauri supports CLI, but we don't have a way to pass any arguments to the CLI when using yarn tauri dev.

Describe the solution you'd like
Support some way of passing in arguments, something like yarn tauri dev <arg1> <arg2> ...

Describe alternatives you've considered
Tried using the solution I mentioned above (yarn tauri dev <arg1> <arg2> ...) and it didn't work. I also tried just using cargo run <arg1> <arg2>..., which will pass in the arguments, but this is not workable because we need the wrapper provided by yarn tauri dev. So there's not really a feasible workaround for this.

Additional context
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions