@pixzle/cli 0.0.13 → 0.0.14
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/cli.js +8 -6
- package/dist/cli.js.map +1 -1
- package/dist/commands/restore.js +13 -7
- package/dist/commands/restore.js.map +1 -1
- package/dist/commands/shuffle.js +12 -6
- package/dist/commands/shuffle.js.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/types.js +2 -1
- package/dist/validators.js +19 -14
- package/dist/validators.js.map +1 -1
- package/package.json +4 -3
package/dist/cli.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const commander_1 = require("commander");
|
|
5
|
+
const restore_1 = require("./commands/restore");
|
|
6
|
+
const shuffle_1 = require("./commands/shuffle");
|
|
7
|
+
const program = new commander_1.Command();
|
|
6
8
|
program
|
|
7
9
|
.name("pixzle")
|
|
8
10
|
.description("CLI tool for image fragmentation and restoration")
|
|
9
11
|
.version("0.8.1");
|
|
10
12
|
// Register commands
|
|
11
|
-
registerShuffleCommand(program);
|
|
12
|
-
registerRestoreCommand(program);
|
|
13
|
+
(0, shuffle_1.registerShuffleCommand)(program);
|
|
14
|
+
(0, restore_1.registerRestoreCommand)(program);
|
|
13
15
|
// Error handling
|
|
14
16
|
program.on("command:*", () => {
|
|
15
17
|
console.error("Invalid command. See --help for available commands.");
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";;;AAEA,yCAAoC;AACpC,gDAA4D;AAC5D,gDAA4D;AAE5D,MAAM,OAAO,GAAG,IAAI,mBAAO,EAAE,CAAC;AAE9B,OAAO;KACJ,IAAI,CAAC,QAAQ,CAAC;KACd,WAAW,CAAC,kDAAkD,CAAC;KAC/D,OAAO,CAAC,OAAO,CAAC,CAAC;AAEpB,oBAAoB;AACpB,IAAA,gCAAsB,EAAC,OAAO,CAAC,CAAC;AAChC,IAAA,gCAAsB,EAAC,OAAO,CAAC,CAAC;AAEhC,iBAAiB;AACjB,OAAO,CAAC,EAAE,CAAC,WAAW,EAAE,GAAG,EAAE;IAC3B,OAAO,CAAC,KAAK,CAAC,qDAAqD,CAAC,CAAC;IACrE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC;AAEH,kBAAkB;AAClB,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAE5B,mCAAmC;AACnC,IAAI,OAAO,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC;IAC7B,OAAO,CAAC,IAAI,EAAE,CAAC;AACjB,CAAC"}
|
package/dist/commands/restore.js
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.registerRestoreCommand = registerRestoreCommand;
|
|
7
|
+
const node_1 = __importDefault(require("@pixzle/node"));
|
|
8
|
+
const validators_1 = require("../validators");
|
|
3
9
|
/**
|
|
4
10
|
* Configures and registers the restore command
|
|
5
11
|
* @param program Commander program instance
|
|
6
12
|
*/
|
|
7
|
-
|
|
13
|
+
function registerRestoreCommand(program) {
|
|
8
14
|
program
|
|
9
15
|
.command("restore")
|
|
10
16
|
.description("Restore fragmented images")
|
|
@@ -21,10 +27,10 @@ export function registerRestoreCommand(program) {
|
|
|
21
27
|
async function handleRestoreCommand(fragments, options) {
|
|
22
28
|
try {
|
|
23
29
|
console.log("🔀 Starting image restoration...");
|
|
24
|
-
const imagePaths = validateImagePaths(fragments);
|
|
25
|
-
const manifestPath = validateManifestPath(options.manifest);
|
|
26
|
-
const outputDir = validateOutputDirectory(options.output);
|
|
27
|
-
await
|
|
30
|
+
const imagePaths = (0, validators_1.validateImagePaths)(fragments);
|
|
31
|
+
const manifestPath = (0, validators_1.validateManifestPath)(options.manifest);
|
|
32
|
+
const outputDir = (0, validators_1.validateOutputDirectory)(options.output);
|
|
33
|
+
await node_1.default.restore({
|
|
28
34
|
imagePaths,
|
|
29
35
|
manifestPath,
|
|
30
36
|
outputDir,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restore.js","sourceRoot":"","sources":["../../src/commands/restore.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"restore.js","sourceRoot":"","sources":["../../src/commands/restore.ts"],"names":[],"mappings":";;;;;AAaA,wDAQC;AArBD,wDAAkC;AAGlC,8CAIuB;AAEvB;;;GAGG;AACH,SAAgB,sBAAsB,CAAC,OAAgB;IACrD,OAAO;SACJ,OAAO,CAAC,SAAS,CAAC;SAClB,WAAW,CAAC,2BAA2B,CAAC;SACxC,QAAQ,CAAC,gBAAgB,EAAE,qBAAqB,CAAC;SACjD,cAAc,CAAC,uBAAuB,EAAE,oBAAoB,CAAC;SAC7D,cAAc,CAAC,oBAAoB,EAAE,kBAAkB,CAAC;SACxD,MAAM,CAAC,oBAAoB,CAAC,CAAC;AAClC,CAAC;AAED;;;;GAIG;AACH,KAAK,UAAU,oBAAoB,CACjC,SAAmB,EACnB,OAAuB;IAEvB,IAAI,CAAC;QACH,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,CAAC;QAEhD,MAAM,UAAU,GAAG,IAAA,+BAAkB,EAAC,SAAS,CAAC,CAAC;QACjD,MAAM,YAAY,GAAG,IAAA,iCAAoB,EAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC5D,MAAM,SAAS,GAAG,IAAA,oCAAuB,EAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAE1D,MAAM,cAAM,CAAC,OAAO,CAAC;YACnB,UAAU;YACV,YAAY;YACZ,SAAS;SACV,CAAC,CAAC;QAEH,OAAO,CAAC,GAAG,CAAC,sCAAsC,SAAS,EAAE,CAAC,CAAC;IACjE,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CACX,yBAAyB,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAClF,CAAC;QACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
|
package/dist/commands/shuffle.js
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.registerShuffleCommand = registerShuffleCommand;
|
|
7
|
+
const node_1 = __importDefault(require("@pixzle/node"));
|
|
8
|
+
const validators_1 = require("../validators");
|
|
3
9
|
/**
|
|
4
10
|
* Configures and registers the shuffle command
|
|
5
11
|
* @param program Commander program instance
|
|
6
12
|
*/
|
|
7
|
-
|
|
13
|
+
function registerShuffleCommand(program) {
|
|
8
14
|
program
|
|
9
15
|
.command("shuffle")
|
|
10
16
|
.description("Fragment images")
|
|
@@ -37,8 +43,8 @@ export function registerShuffleCommand(program) {
|
|
|
37
43
|
async function handleShuffleCommand(images, options) {
|
|
38
44
|
try {
|
|
39
45
|
console.log("🔀 Starting image fragmentation...");
|
|
40
|
-
const imagePaths = validateImagePaths(images);
|
|
41
|
-
const outputDir = validateOutputDirectory(options.output);
|
|
46
|
+
const imagePaths = (0, validators_1.validateImagePaths)(images);
|
|
47
|
+
const outputDir = (0, validators_1.validateOutputDirectory)(options.output);
|
|
42
48
|
const config = {};
|
|
43
49
|
if (options.blockSize !== undefined)
|
|
44
50
|
config.blockSize = options.blockSize;
|
|
@@ -50,7 +56,7 @@ async function handleShuffleCommand(images, options) {
|
|
|
50
56
|
config.preserveName = true;
|
|
51
57
|
if (options.crossImageShuffle)
|
|
52
58
|
config.crossImageShuffle = true;
|
|
53
|
-
await
|
|
59
|
+
await node_1.default.shuffle({
|
|
54
60
|
imagePaths,
|
|
55
61
|
outputDir,
|
|
56
62
|
config: Object.keys(config).length > 0 ? config : undefined,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shuffle.js","sourceRoot":"","sources":["../../src/commands/shuffle.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shuffle.js","sourceRoot":"","sources":["../../src/commands/shuffle.ts"],"names":[],"mappings":";;;;;AAUA,wDA2BC;AApCD,wDAAkC;AAGlC,8CAA4E;AAE5E;;;GAGG;AACH,SAAgB,sBAAsB,CAAC,OAAgB;IACrD,OAAO;SACJ,OAAO,CAAC,SAAS,CAAC;SAClB,WAAW,CAAC,iBAAiB,CAAC;SAC9B,QAAQ,CAAC,aAAa,EAAE,wBAAwB,CAAC;SACjD,cAAc,CAAC,oBAAoB,EAAE,kBAAkB,CAAC;SACxD,MAAM,CAAC,yBAAyB,EAAE,kBAAkB,EAAE,CAAC,KAAa,EAAE,EAAE;QACvE,MAAM,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACvC,IAAI,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC,EAAE,CAAC;YAClC,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;QAC3D,CAAC;QACD,OAAO,G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AiB;YAAE,MAAM,CAAC,iBAAiB,GAAG,IAAI,CAAC;QAE/D,MAAM,cAAM,CAAC,OAAO,CAAC;YACnB,UAAU;YACV,SAAS;YACT,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS;SAC5D,CAAC,CAAC;QAEH,OAAO,CAAC,GAAG,CAAC,wCAAwC,SAAS,EAAE,CAAC,CAAC;IACnE,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CACX,2BAA2B,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CACpF,CAAC;QACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Pixzle = void 0;
|
|
1
7
|
// Export CLI functionality for programmatic usage if needed
|
|
2
|
-
|
|
8
|
+
var node_1 = require("@pixzle/node");
|
|
9
|
+
Object.defineProperty(exports, "Pixzle", { enumerable: true, get: function () { return __importDefault(node_1).default; } });
|
|
3
10
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,4DAA4D;AAC5D,qCAAiD;AAAxC,+GAAA,OAAO,OAAU"}
|
package/dist/types.js
CHANGED
package/dist/validators.js
CHANGED
|
@@ -1,19 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.validateImagePaths = validateImagePaths;
|
|
4
|
+
exports.validateOutputDirectory = validateOutputDirectory;
|
|
5
|
+
exports.validateManifestPath = validateManifestPath;
|
|
6
|
+
const node_fs_1 = require("node:fs");
|
|
7
|
+
const node_path_1 = require("node:path");
|
|
3
8
|
/**
|
|
4
9
|
* Validates an array of image file paths
|
|
5
10
|
* @param paths Array of file paths to validate
|
|
6
11
|
* @returns Array of resolved absolute paths
|
|
7
12
|
*/
|
|
8
|
-
|
|
13
|
+
function validateImagePaths(paths) {
|
|
9
14
|
const resolvedPaths = [];
|
|
10
15
|
for (const path of paths) {
|
|
11
|
-
const resolvedPath = resolve(path);
|
|
12
|
-
if (!existsSync(resolvedPath)) {
|
|
16
|
+
const resolvedPath = (0, node_path_1.resolve)(path);
|
|
17
|
+
if (!(0, node_fs_1.existsSync)(resolvedPath)) {
|
|
13
18
|
console.error(`Error: File not found: ${path}`);
|
|
14
19
|
process.exit(1);
|
|
15
20
|
}
|
|
16
|
-
if (!lstatSync(resolvedPath).isFile()) {
|
|
21
|
+
if (!(0, node_fs_1.lstatSync)(resolvedPath).isFile()) {
|
|
17
22
|
console.error(`Error: Not a file: ${path}`);
|
|
18
23
|
process.exit(1);
|
|
19
24
|
}
|
|
@@ -26,11 +31,11 @@ export function validateImagePaths(paths) {
|
|
|
26
31
|
* @param outputPath Output directory path
|
|
27
32
|
* @returns Resolved absolute path
|
|
28
33
|
*/
|
|
29
|
-
|
|
30
|
-
const resolvedPath = resolve(outputPath);
|
|
34
|
+
function validateOutputDirectory(outputPath) {
|
|
35
|
+
const resolvedPath = (0, node_path_1.resolve)(outputPath);
|
|
31
36
|
// Create parent directory if it doesn't exist
|
|
32
|
-
const parentDir = dirname(resolvedPath);
|
|
33
|
-
if (!existsSync(parentDir)) {
|
|
37
|
+
const parentDir = (0, node_path_1.dirname)(resolvedPath);
|
|
38
|
+
if (!(0, node_fs_1.existsSync)(parentDir)) {
|
|
34
39
|
console.error(`Error: Parent directory does not exist: ${parentDir}`);
|
|
35
40
|
process.exit(1);
|
|
36
41
|
}
|
|
@@ -41,13 +46,13 @@ export function validateOutputDirectory(outputPath) {
|
|
|
41
46
|
* @param manifestPath Path to manifest file
|
|
42
47
|
* @returns Resolved absolute path
|
|
43
48
|
*/
|
|
44
|
-
|
|
45
|
-
const resolvedPath = resolve(manifestPath);
|
|
46
|
-
if (!existsSync(resolvedPath)) {
|
|
49
|
+
function validateManifestPath(manifestPath) {
|
|
50
|
+
const resolvedPath = (0, node_path_1.resolve)(manifestPath);
|
|
51
|
+
if (!(0, node_fs_1.existsSync)(resolvedPath)) {
|
|
47
52
|
console.error(`Error: Manifest file not found: ${manifestPath}`);
|
|
48
53
|
process.exit(1);
|
|
49
54
|
}
|
|
50
|
-
if (!lstatSync(resolvedPath).isFile()) {
|
|
55
|
+
if (!(0, node_fs_1.lstatSync)(resolvedPath).isFile()) {
|
|
51
56
|
console.error(`Error: Manifest path is not a file: ${manifestPath}`);
|
|
52
57
|
process.exit(1);
|
|
53
58
|
}
|
package/dist/validators.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.js","sourceRoot":"","sources":["../src/validators.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"validators.js","sourceRoot":"","sources":["../src/validators.ts"],"names":[],"mappings":";;AAQA,gDAoBC;AAOD,0DAWC;AAOD,oDAcC;AAnED,qCAAgD;AAChD,yCAA6C;AAE7C;;;;GAIG;AACH,SAAgB,kBAAkB,CAAC,KAAe;IAChD,MAAM,aAAa,GAAa,EAAE,CAAC;IAEnC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,MAAM,YAAY,G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,IAAI,CAAC,IAAA,mBAAS,EAAC,YAAY,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC;QACtC,OAAO,CAAC,KAAK,CAAC,uCAAuC,YAAY,EAAE,CAAC,CAAC;QACrE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixzle/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"description": "CLI implementation of image fragmentation and restoration (RESERVED)",
|
|
5
|
+
"type": "commonjs",
|
|
5
6
|
"main": "dist/index.js",
|
|
6
7
|
"types": "dist/index.d.ts",
|
|
7
8
|
"bin": {
|
|
@@ -23,8 +24,8 @@
|
|
|
23
24
|
},
|
|
24
25
|
"dependencies": {
|
|
25
26
|
"commander": "^12.1.0",
|
|
26
|
-
"@pixzle/core": "0.0.
|
|
27
|
-
"@pixzle/node": "0.0.
|
|
27
|
+
"@pixzle/core": "0.0.14",
|
|
28
|
+
"@pixzle/node": "0.0.14"
|
|
28
29
|
},
|
|
29
30
|
"devDependencies": {
|
|
30
31
|
"@types/node": "^22.10.1",
|