feat: Moves logging setup and generate-json for the create command to cli-client module.
This commit is contained in:
@@ -50,9 +50,8 @@ struct GenerateConfigurationCommand: AsyncParsableCommand {
|
||||
|
||||
// FIX:
|
||||
private func _run() async throws {
|
||||
try await withSetupLogger(commandName: Self.commandName, globals: globals) {
|
||||
@Dependency(\.cliClient) var cliClient
|
||||
|
||||
@Dependency(\.cliClient) var cliClient
|
||||
try await cliClient.withLogger(globals.loggingOptions(commandName: Self.commandName)) {
|
||||
let actualPath: String
|
||||
|
||||
// if let path {
|
||||
|
||||
Reference in New Issue
Block a user