@comunica/runner-cli
TypeScript icon, indicating that this package has built-in type declarations

3.0.3 • Public • Published

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.

Install

$ yarn add @comunica/runner-cli

Usage from the command line

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

Usage from an application

Static:

#!/usr/bin/env node
import { runArgsInProcessStatic } from '@comunica/runner-cli';
runArgsInProcessStatic(require('../engine-default.js'));

Dynamic:

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

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @comunica/runner-cli

    Weekly Downloads

    2,365

    Version

    3.0.3

    License

    MIT

    Unpacked Size

    9.59 kB

    Total Files

    9

    Last publish

    Collaborators

    • jeswr
    • joachimvh
    • rubensworks
    • rubenverborgh
    • dexagod