Show command
parent
815bb9af9a
commit
95ee2e75ed
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue