feat: Updates logging configuration.

This commit is contained in:
2024-12-24 21:32:14 -05:00
parent 04bfd4a6ae
commit a885e3dfa3
15 changed files with 335 additions and 107 deletions

View File

@@ -5,8 +5,10 @@ import Foundation
import ShellClient
struct GenerateCommand: AsyncParsableCommand {
static let commandName = "generate"
static let configuration: CommandConfiguration = .init(
commandName: "generate",
commandName: Self.commandName,
abstract: "Generates a version file in a command line tool that can be set via the git tag or git sha.",
discussion: "This command can be interacted with directly, outside of the plugin usage context."
)
@@ -14,6 +16,6 @@ struct GenerateCommand: AsyncParsableCommand {
@OptionGroup var globals: GlobalOptions
func run() async throws {
try await globals.run(\.generate)
try await globals.run(\.generate, command: Self.commandName)
}
}