Files
swift-cli-doc/Examples/Sources/CliDoc-Examples/VStackCommand.swift
Michael Housh 78a632c3e5
All checks were successful
CI / Run tests. (push) Successful in 52s
feat: Adds more documentation and examples.
2024-12-08 18:27:31 -05:00

22 lines
388 B
Swift

import ArgumentParser
import CliDocCore
struct VStackCommand: ParsableCommand {
static let configuration = CommandConfiguration(commandName: "vstack")
func run() throws {
let vstack = VStack {
"Blob Esquire"
.color(.yellow)
.bold()
.underline()
"Blob is a super awesome worker.".italic()
}
print()
print(vstack.render())
}
}