XcodesOrg / xcodes

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

[Feature request] hooks for scripts #385

Open andrewcrook opened 1 month ago

andrewcrook commented 1 month ago

Would it be possible to add a feature to run scripts before and after certain events I think this would have to be configure in a config file using $XDG_CONFIG_HOME. Some of the hooks could be

these could trigger the execution of scripts (python, ruby, pearl, apples script, swift using hash bang, apps (apps or helpers) or shortcuts .

These could provide many solutions to solve problems some examples

They could optionally pass some basic arguments such as type, short name , bundle id, version, log name, path , url , etc

andrewcrook commented 1 month ago

maybe this will help

XXXXXXX If you don't have the c compliator, install it.(gcc or clang)

I dont install from random links. Gives me dodgy vibes.
Not sure how this would help anyway if its not xcodes

Update yes I don't fall for that rubbish

Screenshot 2024-09-19 at 12 52 36