Files
swift-bump-version/Sources/bump-version/Application.swift
Michael Housh fbb4a22e98
All checks were successful
CI / Ubuntu (push) Successful in 2m59s
feat: Updates configuration commands and parsing strategy.
2024-12-25 17:31:38 -05:00

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
)
}