sandlot/src/commands/squash.ts

6 lines
191 B
TypeScript

import { mergeAndClose } from "./helpers.ts"
export async function action(branch: string, opts?: { force?: boolean }) {
await mergeAndClose(branch, { squash: true, force: opts?.force })
}