Repository navigation
Add build, CI/CD, docs for Pointframe CLI packaging - #146
Conversation
dimitar-radenkov
commented
Sep 7, 2026
- Add PowerShell script to build self-contained win-x64 CLI ZIP
- Update CI to publish CLI and run MCP stdio smoke test
- Update CD to release CLI ZIP and checksum on GitHub Releases
- Document CLI packaging, release, and test in knowledge base
- Add CLI usage, requirements, and exit codes to README
- Add PowerShell script to build self-contained win-x64 CLI ZIP - Update CI to publish CLI and run MCP stdio smoke test - Update CD to release CLI ZIP and checksum on GitHub Releases - Document CLI packaging, release, and test in knowledge base - Add CLI usage, requirements, and exit codes to README
There was a problem hiding this comment.
🟡 Changes recommended
The new README CLI section refers to a monitorName field that doesn’t match the CLI’s emitted JSON (MonitorName), which can mislead users.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR adds packaging and release automation for the Pointframe.Cli standalone Windows CLI, along with end-user and internal documentation describing how the CLI is distributed and used.
Changes:
- Added a PowerShell packaging script to publish and zip a self-contained
win-x64CLI build and emit a SHA-256 checksum. - Updated CI/CD workflows to publish the CLI and attach the CLI ZIP + checksum to GitHub Releases.
- Documented CLI packaging/release details in the knowledge base and added CLI usage/exit-code guidance to the README.
Knowledge base note: this PR already includes a knowledge base update (docs/knowledge-base/knowledge-base.md), so no additional KB action is needed beyond addressing any review feedback.
File summaries
| File | Description |
|---|---|
| README.md | Adds CLI usage, requirements, output/exit-code behavior, and artifact location guidance. |
| packaging/build-cli-package.ps1 | New script to dotnet publish the CLI as self-contained single-file output, zip it, and generate SHA-256 checksum. |
| docs/knowledge-base/knowledge-base.md | Documents CLI packaging and release flow alongside existing MCP packaging notes. |
| .github/workflows/ci.yml | Ensures the CLI is published in CI (in addition to MCP publish + smoke test). |
| .github/workflows/cd.yml | Builds the CLI ZIP/checksum during release and uploads them as GitHub Release assets. |
Review details
- Files reviewed: 5/5 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| Use the exact `monitorName` emitted by `displays`. A successful command writes JSON | ||
| to standard output and exits with code `0`; invalid arguments exit with code `2`, and | ||
| capture failures exit with code `1`. Screenshots and their metadata sidecars are saved | ||
| under `%LOCALAPPDATA%\Pointframe\Screenshots`. |