@pd4castr/cli 0.0.12 → 0.0.13

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 +7 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -317,9 +317,14 @@ async function handleAction(options) {
317
317
  try {
318
318
  const authCtx = await getAuth();
319
319
  const ctx = await loadProjectContext();
320
+ const inputsWithFetchers = ctx.config.inputs.filter((input2) => input2.fetcher);
321
+ if (inputsWithFetchers.length === 0) {
322
+ spinner.info("No inputs with data fetchers found, skipping");
323
+ return;
324
+ }
320
325
  for (const input2 of ctx.config.inputs) {
321
326
  if (!input2.fetcher) {
322
- spinner.warn(`\`${input2.key}\` - no data fetcher defined, skipping`);
327
+ spinner.info(`\`${input2.key}\` - no data fetcher defined, skipping`);
323
328
  continue;
324
329
  }
325
330
  if (!FETCHABLE_DATA_FETCHER_TYPES.has(input2.fetcher.type)) {
@@ -1394,7 +1399,7 @@ import { Command } from "commander";
1394
1399
  // package.json
1395
1400
  var package_default = {
1396
1401
  name: "@pd4castr/cli",
1397
- version: "0.0.12",
1402
+ version: "0.0.13",
1398
1403
  description: "CLI tool for creating, testing, and publishing pd4castr models",
1399
1404
  main: "dist/index.js",
1400
1405
  type: "module",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pd4castr/cli",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "CLI tool for creating, testing, and publishing pd4castr models",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",