marimo
marimo copied to clipboard
export and convert with same filename lead to file overwrite
Description
Hello,
export and convert marimo command can lead to overwrite existing file if (by mistake) user use same file name for input and output.
Best regards
Suggested solution
if input and output file are the same marimo should ask confirmation from user y/N (default N)
if ouput file name is an ever existing file which will be overwriten it should also ask confirmation from user y/N
(we are all humans and make mistakes... if software can help to avoid some that will be great)
Alternative
No response
Additional context
No response
@s-celles this would be nice to have. Any interest in contributing this one?
Sorry @mscolnick I'm very busy this month and won't have the time to tackle this.