as an Apple administrator, I wrote a complete shell to install and set a complete macOS system on new computers. I've a 250 systems park to drive.
Using shell bash, I use some commands as :
- "scutil", "networksetup", "systemsetup" or "dsconfigad" to preset Network capabilities,
- "dscl" to create account
- and also install lot of softwares using "hdiutil", "installer" and "rm" or "cp" for files.
My shell program is build as a modern code with a main process and a lot of functions.
I design with xCode a new application with menus and something more pretty than Terminal. All is ready, only each piece of menu items need to be compose.
I can't find or understand how to replace those above shell functions with Swift functions.
I will be very happy to find with your help some pieces of code to do that.