feat: Breaking out more dependencies.
This commit is contained in:
@@ -13,7 +13,6 @@ public extension DependencyValues {
|
||||
@DependencyClient
|
||||
public struct CliClient: Sendable {
|
||||
public var runCommand: @Sendable ([String], Bool, ShellCommand.Shell) async throws -> Void
|
||||
public var findVaultFileInCurrentDirectory: @Sendable () throws -> String
|
||||
|
||||
public func runCommand(
|
||||
quiet: Bool,
|
||||
@@ -56,12 +55,6 @@ extension CliClient: DependencyKey {
|
||||
args
|
||||
))
|
||||
}
|
||||
} findVaultFileInCurrentDirectory: {
|
||||
fatalError()
|
||||
// guard let url = try fileClient.findVaultFileInCurrentDirectory() else {
|
||||
// throw CliClientError.vaultFileNotFound
|
||||
// }
|
||||
// return path(for: url)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user