Files
Michael Housh 875b1980e0
All checks were successful
CI / Run tests. (push) Successful in 58s
feat: Working on documentation
2024-12-09 09:35:17 -05:00

22 lines
377 B
Swift

import ArgumentParser
import CliDocCore
struct GroupCommand: ParsableCommand {
static let configuration = CommandConfiguration(commandName: "group")
func run() throws {
let group = Group {
"My headline."
"\n"
"Some content".color(.green)
"\n"
"Foo Bar".italic()
}
.color(.blue)
print()
print("\(group.render())")
}
}