93922a4101
Now prints the script's name instead of its path.
6 lines
124 B
Swift
Executable File
6 lines
124 B
Swift
Executable File
#!/usr/bin/env swiftshell
|
|
|
|
import SwiftShell
|
|
|
|
print(main.name, main.arguments.map {"\""+($0)+"\""} .joinWithSeparator(" "))
|