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
12 lines
363 B
JavaScript
Executable File
12 lines
363 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
const { emitAnnotateDecision, exitWithFailure, runPlannotator } = require("../lib/run-plannotator");
|
|
|
|
const result = runPlannotator(["annotate", ...process.argv.slice(2), "--json"]);
|
|
|
|
if (result.error || result.status !== 0) {
|
|
exitWithFailure(result, "plannotator annotate");
|
|
}
|
|
|
|
emitAnnotateDecision(result.stdout, "Markdown Annotations");
|