XcodesOrg / xcodes

The best command-line tool to install and switch between multiple versions of Xcode.
MIT License
3.68k stars 126 forks source link

Add info command #138

Open interstateone opened 3 years ago

interstateone commented 3 years ago

Add an info command that outputs information about a specific version, whether or not it's installed. This is most useful with the Xcode Releases data source, which is now the default.

This should output similar static information about the version as is displayed in the Xcodes.app info pane, including:

Output should use appropriate formatting when in an interactive terminal. For example, bold headings, but probably not any color unless it would be meaningful. If data is output in columns, align the columns in an interactive terminal so it's easier for a human to read. In a non-interactive terminal columns should be tab-separated.

fishcharlie commented 2 years ago

It would also be cool if there was a flag for this to output in JSON!