import { parseArgs } from "node:util"; import { addSong, loadSong, readAlignment, trackKeys, writeAlignment } from "../ref/manifest.ts"; import { parseSmf } from "./smf.ts"; import { autoAlign } from "./auto.ts"; import { fitSummary } from "./fit.ts"; import { SF2_PATH, startServer } from "./server.ts"; const USAGE = `usage: bun run align [serve] [--host 127.0.0.1] [--port 5180] [--url-host ] [--root reference] bun run align add