@dayofweek/dcli 1.0.2 → 1.0.3
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/dist/bin/dcli.js +2 -0
- package/package.json +1 -1
package/dist/bin/dcli.js
CHANGED
|
@@ -142,6 +142,7 @@ agent
|
|
|
142
142
|
.option("--confidence <score>", "Confidence 0-1", parseFloat)
|
|
143
143
|
.option("--parent <entityId>", "Parent entity ID")
|
|
144
144
|
.option("--entity-type <type>", "Entity type (Farm, Producer, ...)")
|
|
145
|
+
.option("--target-id <id>", "Target record ID (for update/delete)")
|
|
145
146
|
.option("--file <path>", "Read payload from JSON file (- for stdin)")
|
|
146
147
|
.option("--payload <json>", "Inline JSON payload")
|
|
147
148
|
.action(async (opts) => {
|
|
@@ -159,6 +160,7 @@ agent
|
|
|
159
160
|
title: opts.title,
|
|
160
161
|
description: opts.description,
|
|
161
162
|
payload,
|
|
163
|
+
targetId: opts.targetId,
|
|
162
164
|
sourceAgent: opts.source,
|
|
163
165
|
sourceUrl: opts.sourceUrl,
|
|
164
166
|
confidence: opts.confidence,
|