xcode-simulator-cert/Sources/XcodeSimulatorKit/Commands/Command.swift

15 lines
353 B
Swift

import Foundation
import SPMUtility
protocol Command {
/// Subcommand as it will be written on command-line
var name: String { get }
/// Overview for help
var overview: String { get }
func addOptions(to parser: ArgumentParser)
mutating func fillParseResult(_ parseResult: ArgumentParser.Result) throws
func run() throws
}