       default:        printAndExit("Invalid command: '\(command)'")
     }
   }
+
+
+// Commands
 
   private func build() {
     parseOptionsForBuild()

    println("")
  }

  // private func initializeFlags() {
  //   let environment = NSProcessInfo.processInfo().environment
  //
  //   let mustRecompile = environment["MUST_RECOMPILE"] as! NSString?
  //
  //   if let flag = mustRecompile {
  //     Flags.MustRecompile = flag.lowercaseString != "no"
  //   }
  // }
}



// Utility functions

  /**
    Creates a BoolOption for parsing the "-v" verbose flag.
  */
  private func createVerboseOption() -> BoolOption {
    return BoolOption(shortFlag: "v",
                      longFlag: "verbose",
                      helpMessage: "Verbose logging")
  }

  private func findRoostfile() -> (String, String) {
    let cwd = currentDirectoryPath()
