mirror of
https://github.com/backnotprop/plannotator.git
synced 2026-09-14 14:17:26 +08:00
4de62e83e1
* feat: add Droid slash-command integration * fix: restore Droid command launcher behavior * chore: remove archive command from homepage * fix(droid): tighten last-message session resolution
13 lines
395 B
JavaScript
Executable File
13 lines
395 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
const { exitWithFailure, runPlannotator } = require("../lib/run-plannotator");
|
|
|
|
const result = runPlannotator(["review", ...process.argv.slice(2)]);
|
|
|
|
if (result.error || result.status !== 0) {
|
|
exitWithFailure(result, "plannotator review");
|
|
}
|
|
|
|
const output = result.stdout.trim();
|
|
process.stdout.write(output ? `${output}\n` : "Review session closed without feedback.\n");
|