-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Parent: #1
Goal
Package this repository as an installable npm CLI so users can install globally (or use npx) and convert HTML to PDF from the command line.
Acceptance criteria
package.jsonincludes abinentry exposing a CLI command (e.g.html-to-pdf).- The CLI accepts input (URL or local HTML file) and output path arguments.
- Basic CLI help/usage printed with
-h/--help. - Cross-platform executable (shebang + proper permissions) and tested locally.
- README updated with install and usage examples (
npm i -gandnpx). - CI workflow added to build/test and publish to npm on release (optional: GitHub Actions).
- Version bumped and package name chosen/published using a scoped name (@devroy10/html-to-pdf).
- Unit/integration tests for CLI parsing and core behavior.
Tasks
- Add
binentry inpackage.json. - Implement CLI entrypoint (parse args, call existing library functions).
- Add usage/help text and exit codes.
- Update README with install/usage.
- Add simple tests for CLI.
- Add GitHub Actions workflow to test and optionally publish on tag.
- Publish initial version with package name
@devroy10/html-to-pdf.
Notes
- Use scoped npm package name:
@devroy10/html-to-pdf.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels