(printer: PrinterConfig | undefined, options: string[])
| 66 | type PrinterConfig = { url?: URL | undefined; id: string } |
| 67 | |
| 68 | function printFile(printer: PrinterConfig | undefined, options: string[]) { |
| 69 | return (filePath: string) => printFile_(filePath, printer, options) |
| 70 | } |
| 71 | |
| 72 | function printFile_(filePath: string, printer: PrinterConfig | undefined, options: string[]) { |
| 73 | return exec(["lp", ...buildPrintArgs(filePath, printer, options)].join(" ")) |
no test coverage detected
searching dependent graphs…