"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@oclif/core");
const staticJob_1 = require("../utils/staticJob");
class Job extends core_1.Command {
    async run() {
        const { args, flags } = await this.parse(Job);
        // console.log(args)
        // if (flags) console.log(flags)
        if (args.type_of_job === 'static') {
            this.log('\n   ░██████╗████████╗███████╗███████╗██████╗░\n   ██╔════╝╚══██╔══╝██╔════╝██╔════╝██╔══██╗\n   ╚█████╗░░░░██║░░░█████╗░░█████╗░░██████╔╝\n   ░╚═══██╗░░░██║░░░██╔══╝░░██╔══╝░░██╔══██╗\n   ██████╔╝░░░██║░░░███████╗███████╗██║░░██║\n   ╚═════╝░░░░╚═╝░░░╚══════╝╚══════╝╚═╝░░╚═╝\n');
            const jobRunner = new staticJob_1.StaticJob();
            jobRunner.run(this.config.dataDir);
        }
    }
}
exports.default = Job;
Job.description = 'describe the command here';
Job.examples = [
    '<%= config.bin %> <%= command.id %>',
];
Job.flags = {
    // flag with a value (-n, --name=VALUE)
    name: core_1.Flags.string({ char: 'n', description: 'name to print' }),
    // flag with no value (-f, --force)
    force: core_1.Flags.boolean({ char: 'f' }),
};
Job.args = [
    {
        name: 'type_of_job',
        default: 'static',
        options: ['static', 'dynamic'],
    }
];
