@erdoai/cli 0.145.0 → 0.145.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 +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5828,14 +5828,15 @@ pagesCmd.command("update <id>").description(
5828
5828
  }
5829
5829
  }
5830
5830
  );
5831
- pagesCmd.command("validate").description("Validate page content without deploying").requiredOption("--html <htmlOr@file>", "HTML (or @path)").option("--js <jsOr@file>", "JS/JSX (or @path)").option("--css <cssOr@file>", "CSS (or @path)").option("--runtime <runtime>", "react-tailwind (default) or none").action(async (opts) => {
5831
+ pagesCmd.command("validate").description("Validate page content without deploying").requiredOption("--html <htmlOr@file>", "HTML (or @path)").option("--js <jsOr@file>", "JS/JSX (or @path)").option("--css <cssOr@file>", "CSS (or @path)").option("--runtime <runtime>", "react-tailwind (default) or none").option("--datasets <csv>", "read-dataset slugs referenced by this page (comma-separated)").action(async (opts) => {
5832
5832
  try {
5833
5833
  print(
5834
5834
  await new ErdoClient().validatePage({
5835
5835
  html: readMaybeFile(opts.html),
5836
5836
  js: readMaybeFile(opts.js),
5837
5837
  css: readMaybeFile(opts.css),
5838
- runtime: opts.runtime
5838
+ runtime: opts.runtime,
5839
+ dataset_slugs: grantList(opts.datasets)
5839
5840
  })
5840
5841
  );
5841
5842
  } catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erdoai/cli",
3
- "version": "0.145.0",
3
+ "version": "0.145.1",
4
4
  "description": "Erdo CLI \u2014 drive datasets, pages, and evals from the terminal or CI",
5
5
  "type": "module",
6
6
  "bin": {