Merge pull request #708 from jeremymcs/fix/gsd-cleanup-command

fix: handle bare /gsd cleanup command
This commit is contained in:
TÂCHES 2026-03-16 15:17:10 -06:00 committed by GitHub
commit f550904724

View file

@ -281,6 +281,12 @@ export function registerGSDCommand(pi: ExtensionAPI): void {
return;
}
if (trimmed === "cleanup") {
await handleCleanupBranches(ctx, projectRoot());
await handleCleanupSnapshots(ctx, projectRoot());
return;
}
if (trimmed === "cleanup branches") {
await handleCleanupBranches(ctx, projectRoot());
return;