@dayofweek/dcli 1.0.1 → 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.
Files changed (2) hide show
  1. package/dist/bin/dcli.js +2 -0
  2. 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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dayofweek/dcli",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "CLI for the Day of Week AgTech platform — read data and submit proposals for review",
5
5
  "license": "MIT",
6
6
  "type": "module",