Make --project-only a Flag again (#1253)

Instead of an Option, in GenerateCommand
This commit is contained in:
Natan Rolnik 2020-04-22 19:34:49 +03:00 committed by GitHub
parent b3fb0709da
commit 6d33025fa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -14,9 +14,7 @@ struct GenerateCommand: ParsableCommand {
)
var path: String?
@Option(
name: .shortAndLong,
default: false,
@Flag(
help: "Only generate the local project (without generating its dependencies)."
)
var projectOnly: Bool