We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
To execute a Swift script inline from the Terminal, simply:
$ cd /path/to/program/ $ swift myprogram.swift # myprogram.swift executes...
You can even pass in arguments:
$ swift myprogram.swift argument1 argument2 # myprogram.swift executes with arguments 1 & 2 being passed in