@blazediff/cli 2.1.3 → 3.0.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.
@@ -18,16 +18,16 @@ var __copyProps = (to, from, except, desc) => {
18
18
  };
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
- // src/commands/bin.ts
22
- var bin_exports = {};
23
- __export(bin_exports, {
21
+ // src/commands/core-native.ts
22
+ var core_native_exports = {};
23
+ __export(core_native_exports, {
24
24
  default: () => main
25
25
  });
26
- module.exports = __toCommonJS(bin_exports);
27
- var import_bin = require("@blazediff/bin");
26
+ module.exports = __toCommonJS(core_native_exports);
27
+ var import_core_native = require("@blazediff/core-native");
28
28
  function printUsage() {
29
29
  console.log(`
30
- Usage: blazediff-cli bin <image1> <image2> <output> [options]
30
+ Usage: blazediff-cli core-native <image1> <image2> <output> [options]
31
31
 
32
32
  Arguments:
33
33
  image1 Path to the first image
@@ -42,9 +42,9 @@ Options:
42
42
  -h, --help Show this help message
43
43
 
44
44
  Examples:
45
- blazediff-cli bin image1.png image2.png diff.png
46
- blazediff-cli bin image1.png image2.png diff.png -t 0.05 -a
47
- blazediff-cli bin image1.png image2.png diff.png --threshold 0.2 --antialiasing
45
+ blazediff-cli core-native image1.png image2.png diff.png
46
+ blazediff-cli core-native image1.png image2.png diff.png -t 0.05 -a
47
+ blazediff-cli core-native image1.png image2.png diff.png --threshold 0.2 --antialiasing
48
48
  `);
49
49
  }
50
50
  async function main() {
@@ -107,7 +107,7 @@ async function main() {
107
107
  }
108
108
  }
109
109
  const startTime = performance.now();
110
- const result = await (0, import_bin.compare)(image1, image2, output, options);
110
+ const result = await (0, import_core_native.compare)(image1, image2, output, options);
111
111
  const duration = performance.now() - startTime;
112
112
  console.log(`completed in: ${duration.toFixed(2)}ms`);
113
113
  if (result.match) {