@rockset/cli
Version:
Official Rockset CLI
28 lines (27 loc) • 882 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@oclif/core");
const core_2 = require("@rockset/core");
const base_command_1 = require("../../base-command");
let AddProfile = /** @class */ (() => {
class AddProfile extends base_command_1.RockCommand {
async run() {
const { args } = await this.parse(AddProfile);
await core_2.auth.deleteAuthProfile(args.name);
}
}
AddProfile.flags = {
help: core_1.Flags.help({ char: 'h' }),
};
AddProfile.args = [
{
name: 'name',
required: true,
hidden: false,
description: 'the name of the profile you wish to delete',
},
];
AddProfile.description = `delete a profile with the specified name`;
return AddProfile;
})();
exports.default = AddProfile;