"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const core_1 = require("@oclif/core");
const command_base_tenantless_1 = require("../command-base-tenantless");
class Stash extends command_base_tenantless_1.CommandBaseTenantless {
    run() {
        return tslib_1.__awaiter(this, void 0, void 0, function* () {
            this.bootstrap();
            const { args, flags } = yield this.parse(Stash);
            const name = flags.name || 'world';
            this.log(`hello ${name} from /Users/mfreydl/_dev/codiac/toyhauler-cli/cli/src/commands/stash.ts`);
            if (args.file && flags.force) {
                this.log(`you input --force and --file: ${args.file}`);
            }
        });
    }
}
exports.default = Stash;
Stash.description = 'describe the command here';
Stash.flags = {
    help: core_1.Flags.help({ char: 'h' }),
    // 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' }),
};
Stash.args = {
    file: core_1.Args.string({ description: "path to the file to stash." })
};
//# sourceMappingURL=stash.js.map