1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const command_1 = require("@heroku-cli/command");
|
4 | const buildpacks_1 = require("../../buildpacks");
|
5 | class 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 | }
|
12 | Clear.description = 'clear all buildpacks set on the app';
|
13 | Clear.flags = {
|
14 | app: command_1.flags.app({ required: true }),
|
15 | remote: command_1.flags.remote()
|
16 | };
|
17 | exports.default = Clear;
|