feat: Working on command-line documentation.
All checks were successful
CI / Ubuntu (push) Successful in 2m52s

This commit is contained in:
2024-12-26 12:13:42 -05:00
parent 86a344fa9f
commit a0f8611a76
12 changed files with 506 additions and 50 deletions

View File

@@ -1,5 +1,6 @@
import ArgumentParser
import CliClient
import CliDoc
import Dependencies
import Foundation
import ShellClient
@@ -9,8 +10,11 @@ struct GenerateCommand: AsyncParsableCommand {
static let configuration: CommandConfiguration = .init(
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."
abstract: Abstract.default("Generates a version file in your project.").render(),
usage: Usage.default(commandName: Self.commandName),
discussion: Discussion {
"This command can be interacted with directly, outside of the plugin usage context."
}
)
@OptionGroup var globals: GlobalOptions