Skip to content

feat(cli): implement standalone ProofCode CLI executable with staged, live, and markdown modes - #30

Merged
waleedcodes merged 3 commits into
workingfrom
pr-30-src-cli
Oct 9, 2026
Merged

waleedcodes merged 3 commits into
workingfrom
pr-30-src-cli

Conversation

@waleedcodes

Copy link
Copy Markdown
Owner

📌 Pull Request #30 of 58: cli.ts

📂 File & Architectural Context

  • Target File: src/cli.ts
  • Architectural Layer: Standalone Command Line Interface
  • Scope Identifier: cli

🎯 Overview & Motivation

Provides a standalone CLI binary executable via npx proofcode or node dist/cli.js, supporting --staged, --live, --base, --markdown, --json, and --report-out flags.

🔍 Detailed Delta & Technical Implementation

  • Created CLI runner parsing process arguments.
  • Supported target directory specification or default cwd.
  • Added flags: --staged, --live, --markdown, --json, --report-out, --quiet.
  • Exited with status code 1 on BLOCKED verdict for CI gate enforcement.

🛡️ Quality Gates & Verification

  • Target Base Branch: working
  • TypeScript Type Safety: 0 errors (tsc --noEmit).
  • Code Quality: 0 ESLint warnings (eslint src --ext .ts).
  • Test Suite: 34 / 34 passing tests across 13 test suites (vitest run).
  • Production Bundle: Bundled in <700ms with esbuild.
  • Verification Details: Verified CLI runner with node dist/cli.js --help and npm run cli.

Generated by ProofCode automated delivery pipeline with granular 3-commit pull requests against development branch working.

@waleedcodes waleedcodes added core-engine Core static analysis and impact algorithms enhancement New feature or request proofcode ProofCode change verification engine verified Automated quality gate passed labels Oct 9, 2026
@waleedcodes
waleedcodes merged commit 32c5bdf into working Oct 9, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core-engine Core static analysis and impact algorithms enhancement New feature or request proofcode ProofCode change verification engine verified Automated quality gate passed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant