@dialpad/dialtone-cli 1.5.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +7 -1
  2. package/build/index.js +5850 -2788
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -35,15 +35,21 @@ dialtone component button --slots # slots only
35
35
  dialtone component button --examples # usage example
36
36
  ```
37
37
 
38
- ### `dialtone docs <query>`
38
+ ### `dialtone docs [query]`
39
39
 
40
40
  Search bundled reference documentation, including directive imports, registration and behavior.
41
41
 
42
42
  ```bash
43
43
  dialtone docs "v-dt-tooltip"
44
44
  dialtone docs "DtModeDirective registration"
45
+ dialtone docs --id examples/button-default
46
+ dialtone docs --id examples/button-disabled-tooltip --format json
45
47
  ```
46
48
 
49
+ Use `--id <id>` instead of a query to retrieve a complete documentation record. Minimal and Markdown formats print its content; JSON returns a one-record array with its metadata. Missing IDs, an empty ID, or combining a query with `--id` exit with an error. `--limit` controls search results, not exact-ID content.
50
+
51
+ The two selected Button examples include complete application files and pinned dependencies. Their tested profile does not establish installed-project compatibility; read each record's build/API and manual-review status and environment. `component --examples` text output lists available example IDs; complete example records stay out of documentation search. See [Retrieve a selected example](https://dialtone.dialpad.com/guides/cli/#retrieve-a-selected-example) for setup and qualification.
52
+
47
53
  ### `dialtone token [query]`
48
54
 
49
55
  Look up design tokens. Use `--name=--dt-*` for canonical CSS names so the leading dashes are parsed as a value. Exact legacy names retain their values and qualified migration guidance; add `--values --format json` to inspect that metadata.