Show command
parent
815bb9af9a
commit
95ee2e75ed
|
@ -6,10 +6,10 @@ export const action = async ({ args, logger }) => {
|
||||||
|
|
||||||
switch (data) {
|
switch (data) {
|
||||||
case 'students':
|
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;
|
break;
|
||||||
case 'enterprises':
|
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;
|
break;
|
||||||
default:
|
default:
|
||||||
logger.error('You need to specify a valid module');
|
logger.error('You need to specify a valid module');
|
||||||
|
|
Loading…
Reference in New Issue