No CLI interface #18

Closed
opened 2026-05-10 16:06:53 +00:00 by Mark · 3 comments
Owner

Description

Only library/API usage is supported. No standalone CLI for generating tokens.

Impact

Cannot generate tokens from shell scripts or CI pipelines.

Suggested Fix

Add a CLI entry point with argparse.

## Description Only library/API usage is supported. No standalone CLI for generating tokens. ## Impact Cannot generate tokens from shell scripts or CI pipelines. ## Suggested Fix Add a CLI entry point with argparse.
Author
Owner

Approved. Implementation approach:

  • Create a Node.js CLI entry point (cli.mjs) that imports the rendering logic currently in the browser-side HTML5 Canvas
  • Use the canvas npm package for headless rendering in shell/CI contexts
  • Accept dimensions, shape, colors, text, icon, and output path as CLI flags
  • The AI generation features via the server proxy are optional (offline-first for manual rendering)
  • Keep it additive — no changes to the existing server.js or frontend
Approved. Implementation approach: - Create a Node.js CLI entry point (`cli.mjs`) that imports the rendering logic currently in the browser-side HTML5 Canvas - Use the `canvas` npm package for headless rendering in shell/CI contexts - Accept dimensions, shape, colors, text, icon, and output path as CLI flags - The AI generation features via the server proxy are optional (offline-first for manual rendering) - Keep it additive — no changes to the existing server.js or frontend
Author
Owner

Approved. Added triage-approved label — this enters the fixer pipeline for implementation. A CLI entry point with argparse is well-scoped for the quickfix pipe.

**Approved.** Added `triage-approved` label — this enters the fixer pipeline for implementation. A CLI entry point with argparse is well-scoped for the quickfix pipe.
Author
Owner

Fixed in commit. Closing.

Fixed in commit. Closing.
Mark closed this issue 2026-05-27 11:28:35 +00:00
Mark referenced this issue from a commit 2026-05-27 11:28:36 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/tokengenerator#18
No description provided.