Avoid to override existing Changie config file if already exists #403
-
With Changie v1.10.0 When you have a Consider either to :
PS: It's same for |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hmm correct, My proposal would be:
#404 was created to address the proposal |
Beta Was this translation helpful? Give feedback.
Hmm correct,
init
does not make any attempt to not clobber existing files or folders. I am not sure how needed this feature is ( I mean with git you would probably just undo any changes and move on ) but I think not overriding existing values is a good idea. I would consider it a bug that running init again would override values.My proposal would be:
.changie.yaml
and do nothing if a file is found, it should instead return an error and show a message--force
option should be added to bypass this check#404 was created to address the proposal