"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.FixturesTearDownCommand = void 0;
const common_1 = require("@nestjs/common");
const nest_commander_1 = require("nest-commander");
const solid_introspect_service_1 = require("../../services/solid-introspect.service");
let FixturesTearDownCommand = class FixturesTearDownCommand extends nest_commander_1.CommandRunner {
    constructor(introspectService) {
        super();
        this.introspectService = introspectService;
        this.logger = new common_1.Logger(this.constructor.name);
    }
    async run(_passedParam, options) {
    }
    parseScenario(val) {
        return val;
    }
    parseModule(val) {
        return val;
    }
};
exports.FixturesTearDownCommand = FixturesTearDownCommand;
__decorate([
    (0, nest_commander_1.Option)({
        flags: '-s, --scenario [scenario name]',
        description: 'Setup scenario name for the fixtures command',
        required: true,
    }),
    __metadata("design:type", Function),
    __metadata("design:paramtypes", [String]),
    __metadata("design:returntype", String)
], FixturesTearDownCommand.prototype, "parseScenario", null);
__decorate([
    (0, nest_commander_1.Option)({
        flags: '-m, --module [module name]',
        description: 'Module Name from the ss_model_metadata table',
        required: true,
    }),
    __metadata("design:type", Function),
    __metadata("design:paramtypes", [String]),
    __metadata("design:returntype", String)
], FixturesTearDownCommand.prototype, "parseModule", null);
exports.FixturesTearDownCommand = FixturesTearDownCommand = __decorate([
    (0, nest_commander_1.Command)({
        name: 'fixtures tear-down',
        description: 'Handles setup and tear down of fixtures for the SolidX application',
    }),
    __metadata("design:paramtypes", [solid_introspect_service_1.SolidIntrospectService])
], FixturesTearDownCommand);
//# sourceMappingURL=fixtures-tear-down.command.js.map