Skip to content

Commit c61e17e

Browse files
committed
actually populate root unidocd command with necessary subcommand to compile packages
1 parent 9b7682b commit c61e17e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Sources/unidocd/Main.swift

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import NIOCore
1010
import NIOSSL
1111
import Symbols
1212
import SystemIO
13-
import SymbolGraphCompiler
13+
import SymbolGraphBuilder
1414
import UnidocClient
1515

1616
struct Main
@@ -117,7 +117,11 @@ extension Main
117117
@main
118118
extension Main:AsyncParsableCommand
119119
{
120-
static var configuration:CommandConfiguration { .init(commandName: "unidocd") }
120+
static var configuration:CommandConfiguration
121+
{
122+
.init(commandName: "unidocd",
123+
subcommands: [SSGC.SlaveCommand.self])
124+
}
121125

122126
mutating
123127
func run() async throws

0 commit comments

Comments
 (0)