mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +00:00
docs(cli): document --json and --verbose lint flags
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
7a228fcd40
commit
31c726e3fa
@@ -51,9 +51,13 @@ npx hyperframes render ./my-composition.html -o output.mp4
|
||||
Validate your Hyperframes HTML:
|
||||
|
||||
```bash
|
||||
npx hyperframes lint ./my-composition.html
|
||||
npx hyperframes lint ./my-composition
|
||||
npx hyperframes lint ./my-composition --json # JSON output for CI/tooling
|
||||
npx hyperframes lint ./my-composition --verbose # Include info-level findings
|
||||
```
|
||||
|
||||
By default only errors and warnings are shown. Use `--verbose` to also display informational findings (e.g., external script dependency notices). Use `--json` for machine-readable output with `errorCount`, `warningCount`, `infoCount`, and a `findings` array.
|
||||
|
||||
### `compositions`
|
||||
|
||||
List compositions found in the current project:
|
||||
|
||||
@@ -21,7 +21,9 @@
|
||||
```bash
|
||||
npx hyperframes dev # preview in browser (studio editor)
|
||||
npx hyperframes render # render to MP4
|
||||
npx hyperframes lint # validate compositions
|
||||
npx hyperframes lint # validate compositions (errors + warnings)
|
||||
npx hyperframes lint --verbose # include info-level findings
|
||||
npx hyperframes lint --json # machine-readable output for CI
|
||||
npx hyperframes docs <topic> # reference docs in terminal
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user