newo
Version:
NEWO CLI: Professional command-line tool with modular architecture for NEWO AI Agent development. Features account migration, integration management, webhook automation, AKB knowledge base, project attributes, sandbox testing, IDN-based file management, r
14 lines (13 loc) • 521 B
text/typescript
/**
* List customers command handler
*/
import { listCustomers } from '../../customerAsync.js';
import type { MultiCustomerConfig } from '../../types.js';
export function handleListCustomersCommand(customerConfig: MultiCustomerConfig): void {
const customers = listCustomers(customerConfig);
console.log('Available customers:');
for (const customerIdn of customers) {
const isDefault = customerConfig.defaultCustomer === customerIdn;
console.log(` ${customerIdn}${isDefault ? ' (default)' : ''}`);
}
}