0.1.6Updated a month ago
switch(Deno.env.get('ENV')) {
  case 'HOST': {
    import('../_host.ts');
    break;
  }
  case 'PROCESSOR': {
    import('../_processor.ts');
    break;
  }
  default: {
    console.error('Environment value "ENV" must be set to "HOST" | "PROCESSOR"')
    Deno.exit(1);
  }
}