feat: fixes install dependencies to use texlive
This commit is contained in:
@@ -10,14 +10,26 @@ struct InstallDependenciesCommand: AsyncParsableCommand {
|
||||
commandName: commandName,
|
||||
abstract: createAbstract("Ensure required dependencies are installed"),
|
||||
discussion: Discussion {
|
||||
Note {
|
||||
"Homebrew is required to install dependencies."
|
||||
VStack {
|
||||
Note {
|
||||
"Homebrew is required to install dependencies."
|
||||
}
|
||||
HStack {
|
||||
"See Also:".yellow.bold.underline
|
||||
"https://brew.sh"
|
||||
}
|
||||
}
|
||||
.separator(.newLine(count: 2))
|
||||
}
|
||||
)
|
||||
|
||||
func run() async throws {
|
||||
@OptionGroup var globals: BasicGlobalOptions
|
||||
|
||||
mutating func run() async throws {
|
||||
@Dependency(\.cliClient) var cliClient
|
||||
try await cliClient.installDependencies()
|
||||
try await cliClient.installDependencies(
|
||||
quiet: globals.quiet,
|
||||
shell: globals.shell
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user