Files
swift-bump-version/Sources/bump-version/Application.swift
Michael Housh a0f8611a76
All checks were successful
CI / Ubuntu (push) Successful in 2m52s
feat: Working on command-line documentation.
2024-12-26 12:13:42 -05:00

20 lines
428 B
Swift

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