Skip to content

Instantly share code, notes, and snippets.

@adamloving
Created March 27, 2015 20:43
Show Gist options
  • Save adamloving/c86d1730bed219316bae to your computer and use it in GitHub Desktop.
Save adamloving/c86d1730bed219316bae to your computer and use it in GitHub Desktop.
example swift command line script
#!/usr/bin/env xcrun swift -i
println("Process.arguments gave args:")
for s in Process.arguments {
println(s)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment