codemetropolis / CodeMetropolis

See your software as never before.
http://codemetropolis.github.io/CodeMetropolis/
14 stars 30 forks source link

Create backup command line option for rendering #290

Open SzatmariA opened 2 years ago

SzatmariA commented 2 years ago

Currently, the program either overwrites the existing world or throws an error saying: world_already_exists. The task would be to have an option that backs up the current world without overwriting it.

Steps to do the task:

  1. Define a new option (e.g. -b as in backup)
  2. Have the program rename the existing world folder to [current_name]_Backup
  3. Update the showHelp option accordingly