feat: Begins moving run commands into cli-client module
This commit is contained in:
@@ -25,9 +25,15 @@ extension Coders: DependencyKey {
|
||||
public static var liveValue: Self {
|
||||
.init(
|
||||
jsonDecoder: { JSONDecoder() },
|
||||
jsonEncoder: { JSONEncoder() },
|
||||
jsonEncoder: { defaultJsonEncoder },
|
||||
tomlDecoder: { TOMLDecoder() },
|
||||
tomlEncoder: { TOMLEncoder() }
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
private let defaultJsonEncoder: JSONEncoder = {
|
||||
var encoder = JSONEncoder()
|
||||
encoder.outputFormatting = [.prettyPrinted, .withoutEscapingSlashes]
|
||||
return encoder
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user