From 78a6e29658ad410e8aaa346fa305acd079cb26e2 Mon Sep 17 00:00:00 2001 From: Lilith Date: Sat, 10 Jan 2026 09:45:01 -0800 Subject: [PATCH] =?UTF-8?q?feat(@cli/bitch-cli/src/commands):=20=E2=9C=A8?= =?UTF-8?q?=20add=20commit=20command=20for=20creating=20commits?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/commands/commit.ts | 2 +- src/index.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/commands/commit.ts b/src/commands/commit.ts index 1ab33e0..28b9126 100644 --- a/src/commands/commit.ts +++ b/src/commands/commit.ts @@ -3,7 +3,7 @@ import { spawn } from 'node:child_process' import { access } from 'node:fs/promises' import { join } from 'node:path' import { homedir } from 'node:os' -import { colors, logInfo, logError } from '../utils/output.js' +import { colors, logError } from '../utils/output.js' const BITCH_DATA_DIR = join(homedir(), '.local', 'share', 'bitch') const COMMITS_SCRIPT_PATH = join(BITCH_DATA_DIR, 'commits-daemon.sh') diff --git a/src/index.ts b/src/index.ts index 188b5bc..7a12db1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,6 +7,7 @@ import { createConsumersCommand } from './commands/consumers.js' import { createCICommand } from './commands/ci.js' import { createInitCommand } from './commands/init.js' import { createCommitsCommand } from './commands/commits.js' +import { createCommitCommand } from './commands/commit.js' const program = new Command() @@ -23,6 +24,7 @@ program.addCommand(createConsumersCommand()) program.addCommand(createCICommand()) program.addCommand(createInitCommand()) program.addCommand(createCommitsCommand()) +program.addCommand(createCommitCommand()) // Parse arguments program.parse()