@vidhyasagarthakur/cli
v0.1.2
Published
CLI for the DevToolkit ecosystem
Readme
@vidhyasagarthakur/cli
Command-line interface for DevToolkit.
Install
pnpm add -g @vidhyasagarthakur/cliOr run without global install:
pnpm dlx @vidhyasagarthakur/cli --helpCommands
devtoolkit run
Run toolkit plugins in CLI mode.
devtoolkit run --css --debug --report ./devtoolkit-report.json --duration 30
devtoolkit run --config ./devtoolkit.config.jsonOptions:
--cssenable CSS tracker plugin--debugverbose logs--report <path>write emittedcss:reportJSON before exit--duration <seconds>auto-stop after N seconds--config <path>load options/plugins from config JSON
devtoolkit init
Generate a config file for repeatable runs.
devtoolkit init
devtoolkit init --output ./devtoolkit.config.json --forcedevtoolkit report
Read a previously generated JSON report and print a summary.
devtoolkit report --input ./devtoolkit-report.json --top 10Options:
--top <n>number of top used classes to print--jsonprint parsed report JSON instead of summary
devtoolkit list-plugins
List built-in plugins and their status.
devtoolkit list-plugins
devtoolkit list-plugins --jsondevtoolkit doctor
Run local environment checks (Node version, runtime info, write access).
devtoolkit doctorAlso reports default config health and JSON validity if present.
Typical Flow
- Run:
devtoolkit run --css --report ./report.json - Stop process (Ctrl+C) to flush report
- Inspect:
devtoolkit report --input ./report.json
License
MIT
