Ctrl K
ComunidadGuías…

bin/cnc

Rama master · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
#!/usr/bin/env node

const chalk = require('chalk');

console.warn(chalk.yellow('Warning: The "cnc" executable is deprecated and will be removed in the next major release. Use "cncjs" instead to avoid deprecation.\n'));

const launchServer = (process.env.NODE_ENV === 'development')
  ? require('../output/cncjs/server-cli')
  : require('../dist/cncjs/server-cli');

launchServer().catch(err => {
  console.error('Error:', err);
});