@dialpad/dialtone-cli 1.4.0 → 1.5.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.
- package/README.md +10 -1
- package/build/index.js +21639 -2517
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ dialtone search "input|select|menu" # OR search
|
|
|
22
22
|
|
|
23
23
|
### `dialtone component <name>`
|
|
24
24
|
|
|
25
|
-
Show full component documentation. The name must match exactly, ignoring case, separators, and the `Dt` prefix, so `button`, `dt-button`, and `DtButton` all work.
|
|
25
|
+
Show full component documentation. The name must match exactly, ignoring case, separators, and the `Dt` prefix, so `button`, `dt-button`, and `DtButton` all work. Other names exit with an error, listing close matches when available. Directive identifiers such as `v-dt-tooltip` or `DtTooltipDirective` are not component names; use documentation search for their contracts.
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
28
|
dialtone component button
|
|
@@ -35,6 +35,15 @@ dialtone component button --slots # slots only
|
|
|
35
35
|
dialtone component button --examples # usage example
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
+
### `dialtone docs <query>`
|
|
39
|
+
|
|
40
|
+
Search bundled reference documentation, including directive imports, registration and behavior.
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
dialtone docs "v-dt-tooltip"
|
|
44
|
+
dialtone docs "DtModeDirective registration"
|
|
45
|
+
```
|
|
46
|
+
|
|
38
47
|
### `dialtone token [query]`
|
|
39
48
|
|
|
40
49
|
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.
|