@docyrus/cli 0.4.0 → 0.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 +17 -0
- package/dist/cli.js +773 -43
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -148,6 +148,23 @@ npx @docyrus/cli add button -p ./src/ui # Custom target path
|
|
|
148
148
|
| `-d, --dry-run` | Show what would be installed without making changes |
|
|
149
149
|
| `-p, --path <path>` | Custom target path for files |
|
|
150
150
|
|
|
151
|
+
#### `list`
|
|
152
|
+
|
|
153
|
+
List available Docyrus UI registry items (components, hooks, utilities) or published npm packages.
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
npx @docyrus/cli list # List registry components
|
|
157
|
+
npx @docyrus/cli ls # Shorthand alias
|
|
158
|
+
npx @docyrus/cli list --packages # List published @docyrus npm packages
|
|
159
|
+
npx @docyrus/cli list --json # Output as JSON
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
**Options:**
|
|
163
|
+
|
|
164
|
+
| Option | Description |
|
|
165
|
+
|--------|-------------|
|
|
166
|
+
| `--packages` | List published @docyrus npm packages instead |
|
|
167
|
+
|
|
151
168
|
### Code Generation
|
|
152
169
|
|
|
153
170
|
#### `generate db [spec]`
|