feat: Working on cli-client.

This commit is contained in:
2024-12-20 20:21:03 -05:00
parent 847ddbc7b5
commit 2ca83829e0

View File

@@ -14,10 +14,17 @@ public extension DependencyValues {
}
}
/// Handles the command-line commands.
@DependencyClient
public struct CliClient {
/// Build and update the version based on the git tag, or branch + sha.
public var build: @Sendable (BuildOptions) throws -> String
/// Generate a version file with an optional version that can be set manually.
public var generate: @Sendable (GenerateOptions) throws -> String
/// Update a version file manually.
public var update: @Sendable (UpdateOptions) throws -> String
}