feat: Adds extension to argument parser's command configuration

This commit is contained in:
2024-12-07 09:20:02 -05:00
parent 1a559e0236
commit 45ab7ca578
13 changed files with 250 additions and 5 deletions

View File

@@ -0,0 +1,14 @@
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
}
}