UNPKG

aura-ai

Version:

AI-powered marketing strategist CLI tool for developers

18 lines (15 loc) 486 B
import React from 'react'; import { render } from 'ink'; import App from './App.jsx'; // Function to run interactive mode export default function runInteractive() { // Render the app with waitUntilExit to handle exit properly const { waitUntilExit } = render(<App />, { exitOnCtrlC: false // Disable automatic exit on Ctrl+C }); return waitUntilExit(); } // Only run if this is the main module if (import.meta.url === `file://${process.argv[1]}`) { runInteractive(); }