Files
swift-bump-version/Sources/bump-version/Commands/BuildCommand.swift
Michael Housh 322327d6d7
All checks were successful
CI / Ubuntu (push) Successful in 2m55s
feat: Renaming to bump-version
2024-12-24 16:39:38 -05:00

20 lines
507 B
Swift

import ArgumentParser
import CliClient
import Foundation
import ShellClient
struct BuildCommand: AsyncParsableCommand {
static let configuration: CommandConfiguration = .init(
commandName: "build",
abstract: "Used for the build with version plugin.",
discussion: "This should generally not be interacted with directly, outside of the build plugin.",
shouldDisplay: false
)
@OptionGroup var globals: GlobalOptions
func run() async throws {
try await globals.run(\.build)
}
}