UNPKG

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

22 lines • 908 B
/** * Status command handler */ import { status } from '../../sync.js'; import { selectSingleCustomer } from '../customer-selection.js'; export async function handleStatusCommand(customerConfig, args, verbose) { const { selectedCustomer, allCustomers, isMultiCustomer } = selectSingleCustomer(customerConfig, args.customer); if (selectedCustomer) { // Single customer status await status(selectedCustomer, verbose); } else if (isMultiCustomer) { // Multi-customer status console.log(`šŸ”„ Checking status for ${allCustomers.length} customers...`); for (const customer of allCustomers) { console.log(`\nšŸ“‹ Status for customer: ${customer.idn}`); await status(customer, verbose); } console.log(`\nāœ… Status check completed for all ${allCustomers.length} customers`); } } //# sourceMappingURL=status.js.map