zcatalyst-cli
Version:
Command Line Tool for CATALYST
28 lines (24 loc) • 916 B
JavaScript
// 'use strict';
// const font = require('ansi-colors');
// const _ = require('../../lib/util_modules');
// const Command = require('../../lib/internal/command');
// module.exports = new Command('console:zcql')
// .description('Launch a shell with CatalystQL functionalities for Data Store')
// .needs('auth', [_.CONSTANTS.SCOPE.zcql])
// .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', 'zcql');
// return require('../lib/replserver')(setup, options).then(() => {
// _.LOGGER.info();
// _.LOGGER.info(
// 'Instructions for the Cache Shell can be found at: ' +
// font.underline.bold(
// 'https://zoho.com/catalyst/help/cli-functionalities.html#Console_zcql'
// )
// );
// });
// });