@softdesignbrasil/productdock-cli 0.5.0 → 0.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.
package/README.md CHANGED
@@ -274,10 +274,16 @@ productdock agent install pd-reviewer
274
274
  # Pin a specific version
275
275
  productdock skill install pd-workflow --version 1.4.0
276
276
 
277
+ # Overwrite something already on disk
278
+ productdock skill install pd-workflow --force
279
+
277
280
  # Update one, or everything installed
278
281
  productdock skill update pd-workflow
279
282
  productdock agent update
280
283
 
284
+ # Reinstall the latest even if up to date or locally modified (discards local edits)
285
+ productdock skill update pd-workflow --force
286
+
281
287
  # Compare what is on disk against the registry
282
288
  productdock skill status
283
289
  productdock agent status
@@ -286,8 +292,8 @@ productdock agent status
286
292
  | Subcommand | Description |
287
293
  | ----------------------- | ------------------------------------------------------------------------------- |
288
294
  | `list` | List what the registry offers. `--source internal\|third-party\|productdock` |
289
- | `install <name>` | Install into every target derived from `productdock.json`. `--version <version>` |
290
- | `update [name]` | Update one, or every installed item. Locally modified items are skipped |
295
+ | `install <name>` | Install into every target derived from `productdock.json`. `--version <version>`. Refuses if it already exists on disk unless `--force` |
296
+ | `update [name]` | Update one, or every installed item. Up-to-date and locally modified items are skipped unless `--force` |
291
297
  | `status` | Report `up to date` / `outdated` / `modified` per installed item |
292
298
 
293
299
  `status` compares a SHA256 fingerprint of the installed directory against the versions the registry knows about: