Skip to content

Commit e59239e

Browse files
committed
Move description to extended column in bm roles list
Long descriptions overflow the terminal width. Match the pattern used by scaffold list/search where description is an extended-only column.
1 parent f8e3a04 commit e59239e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • packages/b2c-cli/src/commands/bm/roles

packages/b2c-cli/src/commands/bm/roles/list.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const COLUMNS: Record<string, ColumnDef<BmRole>> = {
1616
description: {
1717
header: 'Description',
1818
get: (r) => r.description || '-',
19+
extended: true,
1920
},
2021
userCount: {
2122
header: 'Users',
@@ -28,7 +29,7 @@ const COLUMNS: Record<string, ColumnDef<BmRole>> = {
2829
},
2930
};
3031

31-
const DEFAULT_COLUMNS = ['id', 'description', 'userCount'];
32+
const DEFAULT_COLUMNS = ['id', 'userCount'];
3233

3334
export default class BmRolesList extends InstanceCommand<typeof BmRolesList> {
3435
static description = t('commands.bm.roles.list.description', 'List Business Manager access roles on an instance');

0 commit comments

Comments
 (0)