feedback-central
v0.1.0
Published
CLI to read Feedback Central (admin). No baked-in base URL — pass --base or FC_BASE_URL.
Downloads
19
Readme
feedback-central CLI
Node.js CLI for reading Feedback Central (admin). Zero runtime dependencies.
There is no baked-in base URL. Point it at any deployment:
npx feedback-central --base https://feedback.example.com --help
# persist origin (then --base is optional)
npx feedback-central config set-base https://feedback.example.com
# non-interactive (agents)
FC_BASE_URL=https://feedback.example.com FC_API_KEY=fc_... \
npx feedback-central feedback list --q "animateClip"
FC_BASE_URL=https://feedback.example.com FC_API_KEY=fc_... \
npx feedback-central feedback get <id>
FC_BASE_URL=https://feedback.example.com FC_API_KEY=fc_... \
npx feedback-central feedback context <id>Also installed as fc when the package is installed globally or locally.
Base URL resolution
--base <url>FC_BASE_URL~/.config/feedback-central/config.json(written byloginandconfig set-base)
Missing all three → exit 1 with instructions. logout does not clear the saved origin.
Auth resolution
FC_API_KEY~/.config/feedback-central/api-key(mode0600)- session cookies from
feedback-central login(session.json, mode0600)
Unauthorized → exit 2.
In this repo
bun run fc still injects https://feedback-central.rockiestar.com when FC_BASE_URL is unset, so existing operator muscle memory works. The published npm package does not do that.
bun run fc -- --help
# after build:
node packages/cli/dist/cli.js --helpPublish
cd packages/cli && npm publish