@erdoai/cli 0.280.0 → 0.280.1

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/index.js +6 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1748,8 +1748,10 @@ var ErdoClient = class {
1748
1748
  }
1749
1749
  getDatasetRowActions(slug, opts) {
1750
1750
  const q = new URLSearchParams({ dataset: slug });
1751
+ if (opts?.name) q.set("name", opts.name);
1751
1752
  if (opts?.include_receipts) q.set("include_receipts", "true");
1752
1753
  if (opts?.include_unresolved) q.set("include_unresolved", "true");
1754
+ if (opts?.cursor) q.set("cursor", opts.cursor);
1753
1755
  return this.request("GET", `/v1/dataset-row-actions?${q.toString()}`);
1754
1756
  }
1755
1757
  setDatasetRowAction(input) {
@@ -8963,11 +8965,13 @@ providerLeadSourcesCmd.command("delete").description("Delete a lead source, by -
8963
8965
  }
8964
8966
  });
8965
8967
  var datasetRowActionsCmd = datasetsCmd.command("row-actions").description("Read and replace actions for arriving or excluded dataset rows");
8966
- datasetRowActionsCmd.command("get <slug>").description("Read the row-action declarations and optional bounded diagnostics for a dataset").option("--include-receipts", "include bounded provider receipt diagnostics").option("--include-unresolved", "include bounded unresolved lookup diagnostics").action(async (slug, opts) => {
8968
+ datasetRowActionsCmd.command("get <slug>").description("Read the row-action declarations and optional bounded diagnostics for a dataset").option("--name <name>", "read one declaration by name (required with --cursor)").option("--include-receipts", "include bounded provider receipt diagnostics").option("--cursor <cursor>", "continue the provider receipt page returned by the previous read").option("--include-unresolved", "include bounded unresolved lookup diagnostics").action(async (slug, opts) => {
8967
8969
  try {
8968
8970
  print(await new ErdoClient().getDatasetRowActions(slug, {
8971
+ ...opts.name ? { name: opts.name } : {},
8969
8972
  ...opts.includeReceipts ? { include_receipts: true } : {},
8970
- ...opts.includeUnresolved ? { include_unresolved: true } : {}
8973
+ ...opts.includeUnresolved ? { include_unresolved: true } : {},
8974
+ ...opts.cursor ? { cursor: opts.cursor } : {}
8971
8975
  }));
8972
8976
  } catch (e) {
8973
8977
  fail(e);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@erdoai/cli",
3
- "version": "0.280.0",
4
- "description": "Erdo CLI \u2014 drive datasets, pages, and evals from the terminal or CI",
3
+ "version": "0.280.1",
4
+ "description": "Erdo CLI — drive datasets, pages, and evals from the terminal or CI",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "erdo": "dist/index.js"