From c91463633c9d5c7ddc2d6f0c504ff2e6a9c99a72 Mon Sep 17 00:00:00 2001 From: Mark Bennett Date: Mon, 9 Feb 2026 09:27:32 -0700 Subject: [PATCH] Register config and context commands in CLI Add the new config and context commands to the main CLI program: - tangled config: Manage CLI configuration - tangled context: Debug repository context resolution These commands are now accessible through the CLI. Co-Authored-By: Claude Sonnet 4.5 --- src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/index.ts b/src/index.ts index a8bcbe2..5e8a2c8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,6 +4,8 @@ import { dirname, join } from 'node:path'; import { fileURLToPath } from 'node:url'; import { Command } from 'commander'; import { createAuthCommand } from './commands/auth.js'; +import { createConfigCommand } from './commands/config.js'; +import { createContextCommand } from './commands/context.js'; import { createSshKeyCommand } from './commands/ssh-key.js'; // Get package.json for version @@ -21,5 +23,7 @@ program // Register commands program.addCommand(createAuthCommand()); program.addCommand(createSshKeyCommand()); +program.addCommand(createConfigCommand()); +program.addCommand(createContextCommand()); program.parse(process.argv); -- 2.51.2