Skip to content

Support cargo alias from config.toml #842

Description

@IceSentry

What problem does this solve or what need does it fill?

I have a few alias setup in my .cargo/config.toml that I'm used to using with cargo but they don't work with bevy_cli.

https://doc.rust-lang.org/cargo/reference/config.html#alias

What solution would you like?

Read the config file and support the alias

What alternative(s) have you considered?

Just keep writing everything the long way

Additional context

I really like using rr = "run --release" as an example of an alias I use all the time. I also have exr = "run --release --example"

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-CLIRelated to the main CLI and not a more specific subcommandC-FeatureMake something new possibleD-StraightforwardSimple bug fixes and API improvements, docs, test and examplesS-Ready-for-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions