Merge feature/auto-capture into main

This commit is contained in:
2026-02-03 10:06:48 +01:00
7 changed files with 776 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ import { childrenCommand } from './commands/children';
import { historyCommand } from './commands/history';
import { diffCommand } from './commands/diff';
import { restoreCommand } from './commands/restore';
import { captureCommand, captureHookCommand, configCommand } from './commands/capture';
import { closeDb } from '../core/db';
const program = new Command();
@@ -37,6 +38,9 @@ program.addCommand(childrenCommand);
program.addCommand(historyCommand);
program.addCommand(diffCommand);
program.addCommand(restoreCommand);
program.addCommand(captureCommand);
program.addCommand(captureHookCommand);
program.addCommand(configCommand);
program.hook('postAction', () => {
closeDb();