open-consul/ui-v2/lib/commands/index.js
John Cowen eabb308ac2 UI: Add ember steps:list command for listing available steps (#5255)
* ui: Add ember steps:list command for listing available steps

1. Adds `command` addon to house the new command
2. Start to organize out the steps themselves, bring a bit more order to
things ready to dedupe and cleanup
2019-05-01 18:22:08 +00:00

20 lines
392 B
JavaScript

/* eslint no-console: "off" */
/* eslint-env node */
'use strict';
module.exports = {
name: 'commands',
includedCommands: function() {
return {
'steps:list': {
name: 'steps:list',
run: function(config, args) {
require('./lib/list.js')(`${process.cwd()}/tests/steps.js`);
},
},
};
},
isDevelopingAddon() {
return true;
},
};