[proposal] Add option to rename selected Xcode version
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 4.8k
- Forks
- 182
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 1
Description
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!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The xcodes select 15.3 command is the entry point; start by tracing how its options are parsed and how the selected Xcode path is changed. Done means an optional -r or --rename switches the active app to Xcode.app and renames the previous active app to its version name, without changing default selection behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100