 if helpOption.value {
     cli.printUsage()
     exit(EX_OK)
+}
+
+if versionOption.value {
+    print(appVersion)
+    exit(EX_OK);
 }
 
 

    helpMessage: "In which types of files we should search for resource usage. Default is 'm mm swift xib storyboard'")
cli.addOption(fileExtOption)

let helpOption = BoolOption(shortFlag: "h", longFlag: "help",
                      helpMessage: "Prints this help message.")
cli.addOption(helpOption)

do {

import Rainbow
import FengNiaoKit
import PathKit

let appVersion = "0.1.2"

#if os(Linux)
let EX_OK: Int32 = 0
