Open cidrblock opened 5 months ago
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
https://github.com/ansible/ansible-creator/pull/294 does the first half of this, introducing an --overwrite
parameter is still pending
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.