UiPool v0.2.0

CLI Reference

Complete reference for all UiPool CLI commands and options.

uipool scan #

Scan a directory for pattern and component annotations.

uipool scan [options]
OptionDescriptionDefault
-r, --root <path>Directory to scanCurrent directory
-o, --out <path>Output JSON file path./uipool-report.json
-p, --project <name>Override project nameFrom package.json
-e, --ext <list>Comma-separated file extensionsSee below
-i, --ignore <list>Additional ignore globsNone
--strictOnly accept namespaced annotationsfalse
--warn-legacyWarn about legacy pattern: annotationstrue
--no-warn-legacySuppress legacy warnings

Examples #

Scan specific directory

uipool scan --root ./src

Custom output path

uipool scan --out ./reports/patterns.json

Override project name

uipool scan --project "My App"

Scan only TypeScript and Vue files

uipool scan --ext .ts,.vue

Add custom ignore patterns

uipool scan --ignore "**/legacy/**,**/deprecated/**"

Strict mode (namespaced only)

uipool scan --strict

Default File Extensions #

By default, UiPool scans these file types:

.js.ts.vue.jsx.tsx.md.html.css.scss.sass.less.mdx

Ignored Directories #

These directories are ignored by default:

node_modulesdistbuild.output.nuxt.next.gitcoverage.turbo.cache