         case script(name: String), list, help
     }
 
+    enum Format: String {
+        case file, list
+    }
+
     private enum Keys {
         static let defaultScriptName = "Carthage"
     }
 
     var command: Command = .help
     var path: String?
+    var format: Format?
 
     init?(arguments: [String]) {
         for (index, argument) in arguments.enumerated() {

                let pathIndex = index + 1
                let path = arguments.count > pathIndex ? arguments[pathIndex] : nil
                self.path = path
            case "list":
                command = .list
            case "help":

      The name of Carthage script.
  -p, --path:
      The project directory path.
  -f, --format:
      Format of input/output file paths - using simple paths or xcfilelists.
  list:
      Prints Carthage frameworks list with linking description.
  help:
