Merge feature/auto-capture into main
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user