18 lines
388 B
Swift
18 lines
388 B
Swift
import ArgumentParser
|
|
import Foundation
|
|
|
|
@main
|
|
struct Application: AsyncParsableCommand {
|
|
static let configuration: CommandConfiguration = .init(
|
|
commandName: "bump-version",
|
|
version: VERSION ?? "0.0.0",
|
|
subcommands: [
|
|
BuildCommand.self,
|
|
BumpCommand.self,
|
|
GenerateCommand.self,
|
|
ConfigCommand.self
|
|
],
|
|
defaultSubcommand: BumpCommand.self
|
|
)
|
|
}
|