UNPKG

624 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const command_1 = require("@heroku-cli/command");
4const buildpacks_1 = require("../../buildpacks");
5class Clear extends command_1.Command {
6 async run() {
7 let { flags } = this.parse(Clear);
8 let buildpackCommand = new buildpacks_1.BuildpackCommand(this.heroku);
9 await buildpackCommand.clear(flags.app, 'clear', 'cleared');
10 }
11}
12Clear.description = 'clear all buildpacks set on the app';
13Clear.flags = {
14 app: command_1.flags.app({ required: true }),
15 remote: command_1.flags.remote()
16};
17exports.default = Clear;