15 lines
254 B
Swift
15 lines
254 B
Swift
import CliDocCore
|
|
|
|
public struct Usage<Content: TextNode>: TextNode {
|
|
@usableFromInline
|
|
let content: Content
|
|
|
|
public init(@TextBuilder content: () -> Content) {
|
|
self.content = content()
|
|
}
|
|
|
|
public var body: some TextNode {
|
|
content
|
|
}
|
|
}
|