feat: add oauth with remote server (#1178)

This commit is contained in:
Ralph Khreish
2025-09-04 20:45:41 +02:00
parent 0f3ab00f26
commit 7cf4004038
37 changed files with 2340 additions and 7147 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')