#!/usr/bin/env xcrun swift
import Foundation
let args = Process.arguments
print("Arg:\(args)")
chmod +x x.sh 添加执行权限
#!/usr/bin/env xcrun swift
import Foundation
let args = Process.arguments
print("Arg:\(args)")
chmod +x x.sh 添加执行权限
声明: 本文采用 BY-NC-SA 授权。转载请注明转自: levy