Celtrix icon indicating copy to clipboard operation
Celtrix copied to clipboard

[BUG] Avoid Duplicate Folder Creation During Tech Stack Setup

Open Guruprasadh-R opened this issue 2 months ago • 4 comments

Problem:

When the Celtrix CLI is used to set up a tech stack, it currently asks the user to provide a folder name. If the user is already inside an existing project folder and provides a folder name, the CLI creates another folder inside the current directory.

For example:

project/ └── existing-folder/ └── new-folder/ ← unnecessarily created

This can result in duplicated or unwanted nested folders.

Proposed Solution:

Before asking for the folder name, the CLI should ask the user whether they want to create a new folder.

Example:

Do you want to create a new folder for the project? (y/n) If Yes: Ask the user for the folder name and create/setup the tech stack inside that new folder. If No: Do not ask for a folder name. Instead, use the current directory/file path from which the CLI was executed and set up the tech stack directly there.

Guruprasadh-R avatar Sep 22 '26 09:09 Guruprasadh-R

Hi, really love the direction of the project, would like to work on this issue

Soham-Kakkar avatar Oct 05 '26 06:10 Soham-Kakkar

@JoeCelaster please assign the issue to me

Soham-Kakkar avatar Oct 10 '26 12:10 Soham-Kakkar

@Soham-Kakkar , It is already assigned. Thanks for the interest, You can create an issue on new bug or feature.

JoeCelaster avatar Oct 10 '26 13:10 JoeCelaster

@JoeCelaster Oh I'm sorry I didn't see they self-assigned. Will look for other opportunities to contribute:)

Soham-Kakkar avatar Oct 10 '26 15:10 Soham-Kakkar