#!/usr/bin/env node
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const commander_1 = require("commander");
require("source-map-support/register");
require("pretty-error/start");
const serializer_1 = __importDefault(require("../src/serializer"));
const prepareSnapshotCommand = new commander_1.Command('prepare')
    .argument('<path>')
    .action((path) => {
    const result = serializer_1.default(path);
    console.log(JSON.stringify(result));
});
commander_1.program.addCommand(prepareSnapshotCommand);
commander_1.program.parse();
//# sourceMappingURL=prepare-snapshot.js.map