UNPKG

tw-runner

Version:

Run and manage Tower Website projects with this utility.

17 lines (12 loc) • 374 B
#!/usr/bin/env node import { execSync } from 'child_process'; try { const packageName = 'tw-runner'; const cmd = `npm install -g ${packageName}`; console.log(`šŸ”„ Running: ${cmd}`); execSync(cmd, { stdio: 'inherit' }); console.log('\nāœ… CLI successfully updated.'); } catch (err) { console.error('āŒ Failed to update:', err.message); process.exit(1); }