โ Help Scripts
This page explains how to use the help scripts included in the Img2Num project.
There are two sets of help scripts:
- Root project scripts (
/scripts/help.js) - Docs scripts (
/docs/scripts/help.js)
Both provide the same interface, but are scoped to their package.json scripts.
Project Helpโ
Run the following command from the project root:
npm run help
This launches an interactive CLI that shows all scripts in package.json grouped by category and allows fuzzy search.
Features:
- Lists scripts in groups: Development, Build, Cleaning, Formatting, Linting, Other
- Allows fuzzy search for script names
a + enterlists all scriptsq + enterquits the CLI
info
- These scripts are meant to manage the documentation site.
- Use
startto run a local dev server for docs. - Use
buildanddeployto publish to GitHub Pages. swizzleallows customizing theme components safely.write-translationsandwrite-heading-idsare useful for internationalization and stable MDX anchors.