beyond
Version:
The Full Stack Universal Typescript Framework
14 lines (12 loc) • 365 B
JavaScript
module.exports = {
command: 'add [option]',
description: 'Add package or module in beyondJS',
handler: ({ option }) => {
if (['module', 'package'].includes(option)) {
require(`./${option}`)();
return;
}
console.log('Command: beyond add [option] - Add a package or module in BeyondJS');
console.log('option: package | module');
},
};