"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@oclif/core");
class Strategy extends core_1.Command {
    async run() {
        var _a;
        const { args, flags } = await this.parse(Strategy);
        const name = (_a = flags.name) !== null && _a !== void 0 ? _a : 'world';
        // @todo add path
        this.log(`hello ${name}`);
        if (args.file && flags.force) {
            this.log(`you input --force and --file: ${args.file}`);
        }
    }
}
exports.default = Strategy;
Strategy.description = 'describe the command here';
Strategy.examples = [
    '<%= config.bin %> <%= command.id %>',
];
Strategy.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' }),
};
Strategy.args = [{ name: 'file' }];
