feat: implement workflow (wip)

This commit is contained in:
Ralph Khreish
2025-09-08 12:33:43 -07:00
parent 3eeb19590a
commit 7c1d05958f
39 changed files with 3850 additions and 64 deletions

View File

@@ -15,8 +15,8 @@ import search from '@inquirer/search';
import ora from 'ora'; // Import ora
import { log, readJSON } from './utils.js';
// Import new commands from @tm/cli
import { ListTasksCommand, AuthCommand, ContextCommand } from '@tm/cli';
// Import command registry from @tm/cli
import { registerAllCommands } from '@tm/cli';
import {
parsePRD,
@@ -1737,17 +1737,9 @@ function registerCommands(programInstance) {
});
});
// NEW: Register the new list command from @tm/cli
// This command handles all its own configuration and logic
ListTasksCommand.registerOn(programInstance);
// Register the auth command from @tm/cli
// Handles authentication with tryhamster.com
AuthCommand.registerOn(programInstance);
// Register the context command from @tm/cli
// Manages workspace context (org/brief selection)
ContextCommand.registerOn(programInstance);
// Register all commands from @tm/cli using the command registry
// This automatically registers ListTasksCommand, AuthCommand, and any future commands
registerAllCommands(programInstance);
// expand command
programInstance