@driftless-sh/cli 0.1.24 → 0.1.26

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 CHANGED
@@ -136,6 +136,8 @@ driftless context get auth-boundaries --json
136
136
  | `context search <query>` | Full-text search across topics |
137
137
  | `context anchor <slug>` | Anchor a doc to a topic |
138
138
  | `context push --files` | Match topics for given file paths |
139
+ | `context export` | Export all watchers to `.driftless/watchers/*.yaml` |
140
+ | `context import` | Import watchers from `.driftless/watchers/*.yaml` |
139
141
 
140
142
  #### Dry run
141
143
 
@@ -205,6 +207,12 @@ driftless context update sdk --gotchas "Reset token on org switch"
205
207
  # Anchor a doc
206
208
  driftless context anchor auth --doc docs/auth.md --files "src/auth/**"
207
209
 
210
+ # Export all watchers to .driftless/watchers/*.yaml
211
+ driftless context export
212
+
213
+ # Import watchers from .driftless/watchers/*.yaml
214
+ driftless context import
215
+
208
216
  # Delete a topic
209
217
  driftless context delete old-feature
210
218
  ```
@@ -308,7 +316,9 @@ driftless scan
308
316
  driftless context
309
317
  ├── CRUD topics via REST API
310
318
  ├── Full-text search (Postgres tsvector)
311
- └── Pattern resolution (glob → resolved files)
319
+ ├── Pattern resolution (glob → resolved files)
320
+ ├── export → .driftless/watchers/*.yaml (context as code)
321
+ └── import ← .driftless/watchers/*.yaml (bootstrap from repo)
312
322
  ```
313
323
 
314
324
  ## License