Skip to content

bevy cli #436

Open
Open
@vultix

Description

@vultix

It would be great if we could have an official bevy cli. Here's some ideas off the top of my head for how it might look:

  • bevy new --template {shooter,2D,etc...} - generates a new bevy project following the best bevy practices
  • bevy build {platform} --release - builds the project and generates an artifact for the given platform
  • bevy prepare {platform} - prepares the platform to be built. Generates xcode project / android studio project, etc.
  • bevy doctor - checks your environment for any known gotchas.
    • Could verify that you have fast compiling setup correctly, including verifying lld or zld are installed
    • Could check for missing ANDROID_SDK_ROOT environment variables, outdated xcode version, etc...
  • bevy upgrade --version {version} - upgrades the bevy version, performing auto-migrations for breaking changes
  • bevy lint - possibly checks the project for best practices?

A lot of this functionality could be replaced or improved by an editor, and there's much we'd want to change from this, but I believe it could be incredibly useful!

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-FeatureA new feature, making something new possibleC-UsabilityA targeted quality-of-life change that makes Bevy easier to useS-Needs-Design-DocThis issue or PR is particularly complex, and needs an approved design doc before it can be merged

    Type

    No type

    Projects

    Status

    Good solo experiments

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions