mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
7 lines
164 B
TypeScript
7 lines
164 B
TypeScript
import { resolve } from "path";
|
|
const { write, stdout, file } = Bun;
|
|
const { argv } = process;
|
|
|
|
const path = resolve(argv.at(-1));
|
|
await write(stdout, file(path));
|