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>
18 lines
350 B
Swift
18 lines
350 B
Swift
import ArgumentParser
|
|
|
|
@main
|
|
struct Colibri: AsyncParsableCommand {
|
|
|
|
// MARK: Properties
|
|
|
|
static let configuration = CommandConfiguration(
|
|
abstract: "The utility to manage your Hummingbird apps",
|
|
subcommands: [
|
|
Build.self,
|
|
Create.self
|
|
],
|
|
defaultSubcommand: Create.self
|
|
)
|
|
|
|
}
|