mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-02 13:39:41 +02:00
chore: bump version to 0.1427
- Remove TUI from git (moved to .gitignore for local development) - Remove React/Ink dependencies (unused in published version) - Remove tui command from CLI Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
-22
@@ -515,26 +515,4 @@ program
|
||||
}
|
||||
});
|
||||
|
||||
// TUI command
|
||||
program
|
||||
.command('tui')
|
||||
.description('Start the terminal user interface')
|
||||
.option('--with-web', 'Automatically start the web server if not running (no prompt)')
|
||||
.option('--no-web', 'Skip web server check entirely')
|
||||
.option('-p, --port <port>', 'Web server port (default: 3000)', '3000')
|
||||
.action(async (options: { withWeb?: boolean; web?: boolean; port?: string }) => {
|
||||
try {
|
||||
const { startTUI } = await import('./tui/index.js');
|
||||
const port = parseInt(options.port || '3000', 10);
|
||||
await startTUI({
|
||||
autoStartWeb: options.withWeb || false,
|
||||
skipWebCheck: options.web === false,
|
||||
port,
|
||||
});
|
||||
} catch (err) {
|
||||
console.error(chalk.red(`✗ Failed to start TUI: ${getErrorMessage(err)}`));
|
||||
process.exit(1);
|
||||
}
|
||||
});
|
||||
|
||||
export { program };
|
||||
|
||||
Reference in New Issue
Block a user