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
JavaScript
/**
* 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