Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
Refactored targetsArgument to targetArgument
Browse files Browse the repository at this point in the history
  • Loading branch information
SvenTiigi committed May 13, 2019
1 parent 763ff9b commit 6e03843
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Sources/SwiftKitCLI/Commands/NewCommand.swift
Expand Up @@ -81,10 +81,10 @@ final class NewCommand {
description: "Open the Xcode project after your Kit has been generated 📂"
)

/// The Targets Argument
let targetsArgument = VariadicKey<String>(
"-t", "--targets",
description: "The Targets that should be included in your Kit 📱"
/// The variadic Target Argument
let targetArgument = VariadicKey<String>(
"-t", "--target",
description: "The Target that should be included in your Kit 📱"
)

// MARK: Properties
Expand Down Expand Up @@ -151,7 +151,7 @@ extension NewCommand {
organizationIdentifierArgument: self.organizationIdentifierArgument.value,
forceArgument: self.forceArgument.value,
openProjectArgument: self.openProjectArgument.value,
targetsArgument: self.targetsArgument.values.isEmpty ? nil : self.targetsArgument.values
targetsArgument: self.targetArgument.values.isEmpty ? nil : self.targetArgument.values
)
}

Expand Down

0 comments on commit 6e03843

Please sign in to comment.