feat(@cli/bitch-cli/src/commands): ✨ add commit command for creating commits
This commit is contained in:
parent
ae124ca407
commit
78a6e29658
2 changed files with 3 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue