6.0.0 • Published 9 months ago

@jbr-hook/cli v6.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

JBR Hook - CLI

Build status Coverage Status npm version

A jbr hook type for a CLI-based hook.

Requirements

  • Node.js (1.12 or higher)
  • An existing jbr experiment that requires a hook.

Configure an experiment hook

If an experiment requires a hook, then you can install this CLI-based hook as follows.

$ jbr set-hook someHook cli

Output

output/logs/cli-stdout.txt: Logs of stdout. output/logs/cli-stderr.txt: Logs of stderr.

Configuration

When installing this hook, your configuration file (jbr-experiment.json) will contain the following:

...
  "someHook": {
    "@id": "urn:jrb:bb:hookSome",
    "@type": "HookCli",
    "entrypoint": [
      "comunica-sparql-http",
      "file@generated/dataset.nt",
      "-p",
      "3001"
    ],
    "statsFilePath": "stats.csv"
  }
...

Configuration fields

  • entrypoint: Array of command parts to execute when starting the experiment.
  • statsFilePath: Optional path to a CSV file in which the stats of the process will be written.

License

jbr.js is written by Ruben Taelman.

This code is copyrighted by Ghent University – imec and released under the MIT license.

5.5.0

11 months ago

5.4.1

12 months ago

6.0.0

9 months ago

5.7.1

10 months ago

5.4.0

1 year ago

5.2.0

2 years ago

5.1.1

2 years ago

5.0.0

2 years ago

4.2.3

2 years ago

4.2.2

2 years ago

4.0.4

2 years ago

4.1.0

2 years ago

4.0.1

2 years ago

4.2.1

2 years ago

4.0.3

2 years ago

4.2.0

2 years ago

4.1.1

2 years ago

4.0.2

2 years ago

4.0.0

2 years ago