<commit_before>//
//  Version.swift
//  Carthage
//
//  Created by <NAME> on 19/11/14.
//  Copyright (c) 2014 Carthage. All rights reserved.
//

import Foundation
import LlamaKit
import ReactiveCocoa
import CarthageKit

public struct VersionCommand: CommandType {
    public let verb = "version"
    public let function = "Display the current version of Carthage"

	public func run(mode: CommandMode) -> Result<()> {
        let versionString = NSBundle(identifier: "org.carthage.CarthageKit")?.objectForInfoDictionaryKey("CFBundleShortVersionString") as String?

        let semVer = SemanticVersion.fromScanner(NSScanner(string: versionString!)).value()

        println(semVer!)

        return success(())
    }<commit_msg>Spaces -> tabs in Version<commit_after>//
//  Version.swift
//  Carthage
//
//  Created by <NAME> on 19/11/14.
//  Copyright (c) 2014 Carthage. All rights reserved.
//

import Foundation
import LlamaKit
import ReactiveCocoa
import CarthageKit

public struct VersionCommand: CommandType {
	public let verb = "version"
	public let function = "Display the current version of Carthage"

	public func run(mode: CommandMode) -> Result<()> {
		let versionString = NSBundle(identifier: "org.carthage.CarthageKit")?.objectForInfoDictionaryKey("CFBundleShortVersionString") as String?

		let semVer = SemanticVersion.fromScanner(NSScanner(string: versionString!)).value()

		println(semVer!)

		return success(())
	}
{'fraction_non_alphanumeric': 0.11165387299371947, 'fraction_numerical': 0.013956734124214934, 'mean_word_length': 4.176895306859206, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 10, 'https://': 0, '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': '2448509', 'n_tokens_mistral': 464, 'n_tokens_neox': 428, 'n_words': 119}