drupal-radix-cli feature request: Ask before creating component if it already exists

Created on 3 May 2024, 8 months ago
Updated 18 May 2024, 7 months ago

Problem/Motivation

If a user (hypothetically, me) runs drupal-radix-cli add and accidentally chooses a component that has already been created (selecting, say, nav instead of navbar), the preexisting component is overwritten without warning, potentially erasing uncommitted changes.

Proposed resolution

It would be great if instead you got a prompt "COMPONENT_NAME already exists. Do you want to overwrite it? y/N"

✨ Feature request
Status

Fixed

Version

6.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States brightbold Boston, MA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024