Skip to content

Support for 'cargo init --force' that overwrites existing files #3832

Closed as not planned
@sbuller

Description

@sbuller

Every time I run cargo init I forget the --bin option. I'd prefer an alternative to rm -rf *; cargo init --bin. Alternatively, a n00b mode might be helpful. I'd appreciate it if a bare cargo init stopped to ask me if I'd forgotten the --bin like a n00b again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-initS-propose-closeStatus: A team member has nominated this for closing, pending further input from the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions