Created a new Swift Script Template and placed it on GitHub.  The template provides a general structure for writing and executing scripts written in the new Swift language along with standard command line option and file processing.

% template.swift -h

template.swift 1.1 2015/02/23

Description:
 Swift shell script template with command line interface.

Syntax: template.swift [ -d ] -h | -v | [ -o <outfile> ] <infile>

Where:
 <infile> represents the input text (.txt) file(s).
 <outfile> represents the output text file.

Options:
 -d specify debug mode.
 -h print program help.
 -o <outfile> specify output file name.
 -v print program version.

Example Invocation:
 % template.swift -o ofile.txt ifile.txt