feat: implement auth manager and auth command

This commit is contained in:
Ralph Khreish
2025-09-02 15:11:27 +02:00
parent 19ec52181d
commit 6409e1a366
8 changed files with 1206 additions and 22 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 ListTasksCommand from @tm/cli
import { ListTasksCommand } from '@tm/cli';
// Import new commands from @tm/cli
import { ListTasksCommand, AuthCommand } from '@tm/cli';
import {
parsePRD,
@@ -1740,6 +1740,11 @@ 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);
// expand command
programInstance
.command('expand')