Template support for input parameters #4

Merged
javier merged 81 commits from feature/arguments-templating into main 2025-02-17 22:11:06 +00:00
2 changed files with 22 additions and 0 deletions
Showing only changes of commit 245529f88f - Show all commits

View File

@ -0,0 +1,5 @@
import Foundation
// MARK: - Processable
extension Process: Processable {}

View File

@ -0,0 +1,17 @@
import Foundation
protocol Processable {
// MARK: Properties
var arguments: [String]? { get set }
var executableURL: URL? { get set }
var standardError: Any? { get set }
var standardOutput: Any? { get set }
var terminationHandler: (@Sendable (Process) -> Void)? { get set }
// MARK: Functions
func run() throws
}