When running xcodes install with no arguments, xcodes will attempt to determine the correct version to install by reading the .xcode-version file in the current directory. I believe that this should be the behavior when running xcodes select without any arguments as well. When running this command today, the user is prompted with a list of installed Xcode versions. I believe this prompt should be bypassed if an .xcode-version file is found. To preserve the old functionality, a new flag could be added like xcodes select --prompt (for example). I realize that this change in behavior could be disruptive for people who are very familiar with the tool, so as an alternative, I could also support a flag like xcodes select --file (for example) that would look for the file and fail automatically if the file isn't found.