Beak Overview
A tool that gives you a command line interface to your Swift scripts. Beak can take a standard Swift file and then list and run any public global functions in it via a command line interface. It analyses your Swift file via SourceKit and finds all public and global functions, turning each into a runnable command while converting parameter names into command line flags. You can also use Beak to generate an Xcode project with all dependencies linked so you can edit your Swift file with full code completion.