feat: Initial commit

This commit is contained in:
2024-12-02 17:04:28 -05:00
commit 22dfc6ce51
18 changed files with 505 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
public struct ShellCommand<Content: Node>: Node {
public var symbol: String
public var content: Content
public init(
symbol: String = "$",
@NodeBuilder content: () -> Content
) {
self.symbol = symbol
self.content = content()
}
public var body: some Node {
Group(separator: " ") {
symbol
content
}
}
}