csa-cli-plugin
Version:
### In Beta
23 lines (19 loc) • 545 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
var _cliEngineHeroku = require('cli-engine-heroku');
class AppCommand extends _cliEngineHeroku.Command {
async run() {
let app = await this.heroku.get(`/apps/${this.flags.app}`);
console.dir(app);
}
}
exports.default = AppCommand;
AppCommand.topic = 'hpm';
AppCommand.command = 'app';
AppCommand.description = 'say hi to an app';
AppCommand.flags = {
remote: _cliEngineHeroku.flags.remote(),
app: _cliEngineHeroku.flags.app({ required: true })
};