Closed tahirmt closed 1 year ago
@tahirmt thank you for this PR! This makes total sense to me π―
@MattKiazyk this would also be aligned with https://github.com/xcpretty/xcode-install/issues/467, since xcode-install's default behavior automatically selects the Xcode version that was just installed, and it would be a huge improvement over xcode-install and xcodes if we could also optionally run update
automatically right before installing (otherwise Xcode versions that exist might not be found). I had to work-around this behavior implementing a "pre-install update" behavior here but it'd be great if it was built-in into xcodes βΊοΈ
I'll review this PR to help move it forward πͺ
@tahirmt since https://github.com/RobotsAndPencils/xcodes/pull/181 got merged, would you mind rebasing this branch or merging the main branch into this one? π
Adds options
--select
and--update
toinstall
command.Details
--select
option will always ask user for password even if the Xcode version is already selectedPromiseKit
so happy to make any improvements