Skip to content

Deduplicate code between different command args #434

@TimJentzsch

Description

@TimJentzsch

For the cargo wrapper commands, e.g. bevy build and bevy run, we currently duplicate quite a bit of code. For example, to determine whether it should be built for release.
It would be nice to find a way to consolidate this in some way, maybe through the use of common traits.

Also related to #433, as that could add a third arg with further duplication.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-CLIRelated to the main CLI and not a more specific subcommandC-Code-QualityAn improvement of readability or qualityD-StraightforwardSimple bug fixes and API improvements, docs, test and examplesS-Ready-for-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions