Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: Make creator a little smarter about force #163

Closed
cidrblock opened this issue May 1, 2024 · 2 comments · Fixed by #298
Closed

RFE: Make creator a little smarter about force #163

cidrblock opened this issue May 1, 2024 · 2 comments · Fixed by #298
Assignees

Comments

@cidrblock
Copy link
Collaborator

If a user builds a new project directory with a virtual environment and ansible-dev-tools installed within it, we should be able to scaffold a new project into that same directory without removing all the files.

We could look to see if there is an overlap between the files we intend to scaffold and the current directory contents rather than needing just an completely empty directory.

@Qalthos
Copy link
Contributor

Qalthos commented Sep 17, 2024

Current idea is to introduce --overwrite option that lists file conflicts and then prompts the user to confirm that these files will be replaced, and deprecate force in favor of overwrite.

A -y or similar option can be added to skip the prompt to simulate current force behavior

@Qalthos
Copy link
Contributor

Qalthos commented Sep 23, 2024

#294 does the first half of this, introducing an --overwrite parameter is still pending

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants