Skip to content

cli: add up --recreate as an alias for --remove-existing-container #76

@bilby91

Description

@bilby91

The library field is `UpOptions.Recreate`. The CLI currently exposes only `--remove-existing-container` (upstream `@devcontainers/cli` naming) for it.

Add a shorter `--recreate` alias to match our own naming. Keep `--remove-existing-container` for muscle memory from upstream users.

Both should map to the same bool — define one, alias via cobra.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    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