This PR contains the work done to implement the `Update` subcommand that update the package dependencies in a *Hummingbird* project. Reviewed-on: #7 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
20 lines
402 B
Swift
20 lines
402 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,
|
|
Outdated.self,
|
|
Update.self
|
|
],
|
|
defaultSubcommand: Create.self
|
|
)
|
|
|
|
}
|