@leejungkiin/awkit 1.5.1 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/awk.js +13 -0
- package/package.json +1 -1
package/bin/awk.js
CHANGED
|
@@ -2549,6 +2549,19 @@ Additional project context can be found in:
|
|
|
2549
2549
|
log(`${C.cyan}👉 Run 'symphony task list' to manage tasks.${C.reset}`);
|
|
2550
2550
|
log(`${C.cyan}👉 Run 'npx gitnexus analyze' after major changes to refresh index.${C.reset}`);
|
|
2551
2551
|
log('');
|
|
2552
|
+
|
|
2553
|
+
// ── 7. Open Documentation ───────────────────────────────────────────────────
|
|
2554
|
+
try {
|
|
2555
|
+
const platform = process.platform;
|
|
2556
|
+
let openCmd = 'xdg-open';
|
|
2557
|
+
if (platform === 'darwin') openCmd = 'open';
|
|
2558
|
+
else if (platform === 'win32') openCmd = 'start ""';
|
|
2559
|
+
|
|
2560
|
+
execSync(`${openCmd} "help.html"`, { cwd, stdio: 'ignore' });
|
|
2561
|
+
dim('Opened help.html in browser');
|
|
2562
|
+
} catch(e) {
|
|
2563
|
+
// Silently ignore if opening fails
|
|
2564
|
+
}
|
|
2552
2565
|
}
|
|
2553
2566
|
|
|
2554
2567
|
// ─── Telegram Bot API ─────────────────────────────────────────────────────────
|