zcatalyst-cli
Version:
Command Line Tool for CATALYST
32 lines (28 loc) • 1 kB
JavaScript
// 'use strict';
// const font = require('ansi-colors');
// const _ = require('../../lib/util_modules');
// const Command = require('../../lib/internal/command');
// module.exports = new Command('console:queue')
// .description('Launch a shell with Catalyst Queue functionalities')
// .needs('auth', [
// _.CONSTANTS.SCOPE.queue,
// _.CONSTANTS.SCOPE.queue_data_create,
// _.CONSTANTS.SCOPE.queue_data_read
// ])
// .action(function(options) {
// if (!options.project) {
// return _.PROMISE.reject(
// 'Must have an active project to use this feature. Try ' + font.bold('catalyst use')
// );
// }
// let setup = _.JS.set({}, 'repl.feature', 'queue');
// return require('../lib/replserver')(setup, options).then(() => {
// _.LOGGER.info();
// _.LOGGER.info(
// 'Instructions for the queue Shell can be found at: ' +
// font.underline.bold(
// 'https://zoho.com/catalyst/help/cli-functionalities.html#Console_Queue'
// )
// );
// });
// });