<commit_before>CommandLine
===========
A pure Swift library for creating command-line interfaces.

Usage
-----
CommandLine aims to have a simple and self-explanatory API.

```swift
import CommandLine

let cli = CommandLine()

let filePath = StringOption(shortFlag: "f", longFlag: "file", required: true,
  helpMessage: "Path to the output file.")
let compress = BoolOption(shortFlag: "c", longFlag: "compress",
  helpMessage: "Use data compression.")
let help = BoolOption(shortFlag: "h", longFlag: "help",
  helpMessage: "Prints a help message.")
let verbosity = CounterOption(shortFlag: "v", longFlag: "verbose",
  helpMessage: "Print verbose messages. Specify multiple times to increase verbosity.")

cli.addOptions(filePath, compress, help, verbosity)
let (success, error) = cli.parse()<commit_msg>Add note on Xcode 6.3 / Swift 1.2 requirement<commit_after>CommandLine
===========
A pure Swift library for creating command-line interfaces.

*Note: CommandLine `master` requires Xcode 6.3 / Swift 1.2. If you are using Xcode 6.2, please check out [v1.0.0](https://github.com/jatoben/CommandLine/tree/v1.0.0).*

Usage
-----
CommandLine aims to have a simple and self-explanatory API.

```swift
import CommandLine

let cli = CommandLine()

let filePath = StringOption(shortFlag: "f", longFlag: "file", required: true,
  helpMessage: "Path to the output file.")
let compress = BoolOption(shortFlag: "c", longFlag: "compress",
  helpMessage: "Use data compression.")
let help = BoolOption(shortFlag: "h", longFlag: "help",
  helpMessage: "Prints a help message.")
let verbosity = CounterOption(shortFlag: "v", longFlag: "verbose",
  helpMessage: "Print verbose messages. Specify multiple times to increase verbosity.")

cli.addOptions(filePath, compress, help, verbosity)
let (success, error) = cli.parse()
{'fraction_non_alphanumeric': 0.1335180055401662, 'fraction_numerical': 0.00886426592797784, 'mean_word_length': 5.249134948096886, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5460788', 'n_tokens_mistral': 562, 'n_tokens_neox': 536, 'n_words': 192}