import type { IntegrationRegistry } from '../core/index.js';

export const commandList = (registryArg: IntegrationRegistry): string => {
  return registryArg
    .list()
    .map((integrationArg) => `${integrationArg.domain}\t${integrationArg.displayName}\t${integrationArg.status}`)
    .join('\n');
};
