mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
Merge pull request #112 from mironal/add-version-option
add support --version option
This commit is contained in:
@@ -15,6 +15,8 @@ import ProjectSpec
|
||||
import JSONUtilities
|
||||
import Rainbow
|
||||
|
||||
let version = "1.3.0"
|
||||
|
||||
func generate(spec: String, project: String) {
|
||||
|
||||
let specPath = Path(spec).normalize()
|
||||
@@ -58,4 +60,4 @@ command(
|
||||
Option<String>("spec", "project.yml", flag: "s", description: "The path to the spec file"),
|
||||
Option<String>("project", "", flag: "p", description: "The path to the folder where the project should be generated"),
|
||||
generate)
|
||||
.run()
|
||||
.run(version)
|
||||
|
||||
Reference in New Issue
Block a user