@curenorway/kode-cli 1.18.0 → 2.0.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/dist/{chunk-MSXS4ARI.js → chunk-6RYN72CO.js} +727 -1172
- package/dist/chunk-GO6KLUXM.js +500 -0
- package/dist/chunk-MUW33LPZ.js +265 -0
- package/dist/chunk-R4KWWTS4.js +75 -0
- package/dist/chunk-TLLGB46I.js +418 -0
- package/dist/cli.js +345 -38
- package/dist/index.d.ts +73 -0
- package/dist/index.js +16 -12
- package/dist/pkg-DOXTOICF.js +18 -0
- package/dist/pull-G7GR67GG.js +7 -0
- package/dist/types-PZ7GFJEK.js +9 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -162,14 +162,23 @@ kode pages --json # Output as JSON
|
|
|
162
162
|
|
|
163
163
|
### `kode library`
|
|
164
164
|
|
|
165
|
-
Browse and use the global script library (Bibliotek). Contains reusable snippets like GSAP animations, form handlers, scroll effects.
|
|
165
|
+
Browse and use the global script library (Bibliotek). Contains reusable snippets like GSAP animations, form handlers, scroll effects. Supports folders, editing, and soft-delete with 30-day recovery.
|
|
166
166
|
|
|
167
167
|
```bash
|
|
168
168
|
kode library # List all library snippets
|
|
169
|
+
kode library --tree # Show folder tree view
|
|
169
170
|
kode library search "scroll" # Search by name or tags
|
|
170
171
|
kode library add gsap-scroll-reveal # Copy snippet into project
|
|
171
172
|
kode library pull # Download all as local references
|
|
172
173
|
kode library push my-script.js # Push a local script to the library
|
|
174
|
+
kode library push my-script.js --folder animations # Push to folder
|
|
175
|
+
kode library update <slug> # Update snippet from local file
|
|
176
|
+
kode library update <slug> --file path/to/file.js # Update from specific file
|
|
177
|
+
kode library folders # List library folders
|
|
178
|
+
kode library folders --create "Animations" # Create folder
|
|
179
|
+
kode library trash # List trashed snippets
|
|
180
|
+
kode library trash --restore <id> # Restore from trash
|
|
181
|
+
kode library trash --empty # Permanently delete all trash
|
|
173
182
|
```
|
|
174
183
|
|
|
175
184
|
Library snippets are reference material — they live in `.cure-kode-scripts/library/` and are never deployed. Use `kode library add` to copy a snippet into your project scripts, then adapt it.
|