Show command

master
sundowndev 2019-02-27 17:02:09 +01:00
parent 815bb9af9a
commit 95ee2e75ed
1 changed files with 2 additions and 2 deletions

View File

@ -6,10 +6,10 @@ export const action = async ({ args, logger }) => {
switch (data) {
case 'students':
logger.table({ rows: global.data.students.slice(0, 50) || [], name: 'Students' });
logger.table({ rows: global.data.students.slice(0, 35) || [], name: 'Students' });
break;
case 'enterprises':
logger.table({ rows: global.data.enterprises.slice(0, 50) || [], name: 'Enterprises' });
logger.table({ rows: global.data.enterprises.slice(0, 35) || [], name: 'Enterprises' });
break;
default:
logger.error('You need to specify a valid module');