This PR contains the work done to add the *Build* subcommand that build a *Hummingbird* project from the command line to the `Colibri` command. Reviewed-on: #5 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
17 lines
319 B
Swift
17 lines
319 B
Swift
import ArgumentParser
|
|
import ColibriLibrary
|
|
|
|
extension Colibri.Create {
|
|
struct Options: ParsableArguments, Locationable {
|
|
|
|
// MARK: Properties
|
|
|
|
@Option(name: .shortAndLong)
|
|
var name: String
|
|
|
|
@Option(name: .shortAndLong)
|
|
var location: String?
|
|
|
|
}
|
|
}
|