A comunica runner that sends an 'init' event from a commandline process.

Usage no npm install needed!

<script type="module">
  import comunicaRunnerCli from 'https://cdn.skypack.dev/@comunica/runner-cli';


Comunica Runner CLI

npm version

Command line runner module for Comunica actors on the Init bus.

Builds upon @comunica/runner.

This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.

Click here if you just want to query with Comunica.

Learn more about creating a custom init actor.


$ yarn add @comunica/runner-cli

Usage from the command line

$ comunica-run config.json [args...]

Usage from an application


#!/usr/bin/env node
import { runArgsInProcessStatic } from '@comunica/runner-cli';


#!/usr/bin/env node
import { runArgsInProcess } from '@comunica/runner-cli';
runArgsInProcess(`${__dirname}/../`, `${__dirname}/../config/config-default.json`);