[READ-ONLY] Mirror of https://github.com/bombshell-dev/tools. Internal CLI to standardize tooling across all Bombshell projects
Something went wrong. Try again.
1234567891011121314import { x } from "tinyexec";import type { CommandContext } from "../context.ts";import { local } from "../utils.ts";
// standardized `format` command, runs `@biomejs/biome` and fixes formattingexport async function format(ctx: CommandContext) { console.log("Formatting with Biome"); const stdio = x(local("biome"), ["check", "--write", "./src"]);
for await (const line of stdio) { console.log(line); }}