UNPKG

380 BJavaScriptView Raw
1'use strict';
2
3let Forego = require('../lib/forego');
4let cli = require('heroku-cli-util');
5
6function* run (context) {
7 let forego = new Forego(context.herokuDir);
8 yield forego.ensureSetup();
9 forego.version();
10}
11
12module.exports = {
13 topic: 'local',
14 command: 'version',
15 description: 'display forego version',
16 help: 'Display forego version',
17 run: cli.command(run)
18};