@erdoai/cli 0.127.0 → 0.128.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/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1796,6 +1796,7 @@ var ErdoClient = class {
|
|
|
1796
1796
|
if (opts.applicability) params.set("applicability", opts.applicability);
|
|
1797
1797
|
if (opts.outcome) params.set("outcome", opts.outcome);
|
|
1798
1798
|
if (opts.approval_id) params.set("approval_id", opts.approval_id);
|
|
1799
|
+
if (opts.since) params.set("since", opts.since);
|
|
1799
1800
|
if (opts.limit) params.set("limit", String(opts.limit));
|
|
1800
1801
|
if (opts.offset) params.set("offset", String(opts.offset));
|
|
1801
1802
|
const qs = params.toString();
|
|
@@ -4409,7 +4410,7 @@ decisionsCmd.command("list").description("List decisions, newest first").option(
|
|
|
4409
4410
|
).option("--applicability <kind>", "standing | one_shot").option("--outcome <outcome>", "only decisions with a settled effect that came back met | not_met | inconclusive").option(
|
|
4410
4411
|
"--approval <id>",
|
|
4411
4412
|
"only the decisions produced by answering this approval (approvals are referenced by id, not slug)"
|
|
4412
|
-
).option("-l, --limit <n>", "max rows (default 50, max 200)", (v) => parseInt(v, 10)).option("--offset <n>", "pagination offset", (v) => parseInt(v, 10)).option("--json", "output raw JSON").action(
|
|
4413
|
+
).option("--since <timestamp>", "inclusive RFC3339 lower bound on the latest known decision movement").option("-l, --limit <n>", "max rows (default 50, max 200)", (v) => parseInt(v, 10)).option("--offset <n>", "pagination offset", (v) => parseInt(v, 10)).option("--json", "output raw JSON").action(
|
|
4413
4414
|
async (opts) => {
|
|
4414
4415
|
try {
|
|
4415
4416
|
const res = await new ErdoClient().listDecisions({
|
|
@@ -4423,6 +4424,7 @@ decisionsCmd.command("list").description("List decisions, newest first").option(
|
|
|
4423
4424
|
applicability: opts.applicability,
|
|
4424
4425
|
outcome: opts.outcome,
|
|
4425
4426
|
approval_id: opts.approval,
|
|
4427
|
+
since: opts.since,
|
|
4426
4428
|
limit: opts.limit,
|
|
4427
4429
|
offset: opts.offset
|
|
4428
4430
|
});
|