import ArgumentParser import SprachmittlerOllama struct ShowCommand: AsyncParsableCommand { static let configuration = CommandConfiguration( commandName: "show", abstract: "Show an installed model's capabilities, parameters and template." ) @Argument(help: "Installed model tag.") var model: String @OptionGroup var endpoint: EndpointOptions func run() async throws { try await CLIError.perform { let environment = try endpoint.makeEnvironment() let catalog = try environment.makeCatalog() let details = try await ShowRunner(catalog: catalog).run(model: model) print(CLIOutput.show(details)) } } }