Change command name to migrate

This commit is contained in:
ryohey
2020-05-18 19:33:05 +09:00
parent 7394747be1
commit 95ce8707a7
2 changed files with 4 additions and 4 deletions
@@ -6,8 +6,8 @@ import XcodeGenKit
import XcodeProj
import Yams
class GenerateSpecCommand: Command {
let name: String = "generate-spec"
class MigrateCommand: Command {
let name: String = "migrate"
let projectFile = Key<Path>("-p", "--project", description: "The path to the project file")
+2 -2
View File
@@ -8,7 +8,7 @@ public class XcodeGenCLI {
public init(version: Version) {
let generateCommand = GenerateCommand(version: version)
let specGenerationCommand = GenerateSpecCommand()
let migrateCommand = MigrateCommand()
cli = CLI(
name: "xcodegen",
@@ -17,7 +17,7 @@ public class XcodeGenCLI {
commands: [
generateCommand,
DumpCommand(version: version),
specGenerationCommand
migrateCommand
]
)
cli.parser.routeBehavior = .searchWithFallback(generateCommand)