XcodesOrg / xcodes

The best command-line tool to install and switch between multiple versions of Xcode.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[proposal] Add option to rename selected Xcode version

piotrekjeremicz opened this issue · comments

Hi everybody!

I'm not sure if I missed something, but I couldn't find an option that, after switching the Xcode version, will change the name of the selected version to "Xcode" and the old one to "Xcode x.x.x".

My proposal is simple - add new parameter to command:
xcodes select 15.3 -r

Command description

OPTIONS:
  -r, --rename        On select, will automatically try and rename the active Xcode to Xcode.app, renaming the previous Xcode.app to the version name.

I could try to implement such solution. Let me know what do you think about it!