         }
     }
     
+    private let baseConfigTemplate = ["inputs": ["example/base.json","example/brand_1.json"],
+                                     "input_assets": "../path/to/depot",
+                                     "out_source": "path/to/app/source",
+                                     "out_assets": "path/to/app/resources",
+                                     "type": "swift or java"
+    ]
+    private func createConfigTemplate(file: String) -> Void {
+        let jsonString = toJSON(baseConfigTemplate)
+        if (jsonString != nil) {
+            do {
+                try jsonString!.writeToFile(file, atomically: true, encoding: NSUTF8StringEncoding)
+                print("JSON template created at \"\(file)\"")
+            }
+            catch {
+                print("Error: writing to \(file)")
+            }
+        }
+    }
+    
     func start(args: [String]) -> Void {
         if (findOption(args, option: "-h") || args.count == 0) {
             usage()
             exit(0)
         }
 
-        let baseName = getOption(args, option: "-template")
+        let baseName = getOption(args, option: "-asset_template")
         if (baseName != nil) {
-            createTemplate(baseName!)
+            createAssetTemplate(baseName!)
             exit(0)
         }
 
+        let configTemplateFile = getOption(args, option: "-config_template")
+        if (configTemplateFile != nil) {
+            createConfigTemplate(configTemplateFile!)
+            exit(0)
+        }
         let configFile = getOption(args, option: "-config")
         if (configFile != nil) {
             let result = fromJSONFile(configFile!)

        "Icon-80.png": 80,
        "Icon-80@2x.png": 160,
        "Icon-120.png": 120,
        "Icon-167.png": 167
    ]
    // ic_launcher.png
    private let AndroidDefaultIconName = "ic_launcher.png"

        let data: NSData
        data = try NSJSONSerialization.dataWithJSONObject(dictionary, options: .PrettyPrinted)
        let jsonString = NSString(data: data, encoding: NSUTF8StringEncoding) as! String
        return jsonString.stringByReplacingOccurrencesOfString("\\/", withString: "/")
    }
    catch {
        return nil
