Merge branch 'sandlot-rm-completion'

This commit is contained in:
Chris Wanstrath 2026-02-20 19:19:25 -08:00
commit ed43aaff78
2 changed files with 1 additions and 1 deletions

View File

@ -85,6 +85,7 @@ program
.command("rm", { hidden: true })
.argument("<branch>", "branch name")
.option("-f, --force", "close even if there are unsaved changes")
.description("Remove a session (alias for close)")
.action((branch: string, opts: { force?: boolean }) => closeAction(branch, opts))
// ── sandlot merge ────────────────────────────────────────────────────

View File

@ -17,7 +17,6 @@ export function action(program: Command) {
const branchCommands: string[] = []
for (const cmd of program.commands) {
if ((cmd as any)._hidden) continue
const name = cmd.name()
const desc = cmd.description()
const subs = cmd.commands as Command[]