A jbr hook type for a CLI-based hook.
If an experiment requires a hook, then you can install this CLI-based hook as follows.
$ jbr set-hook someHook cli
output/logs/cli-stdout.txt: Logs of stdout. output/logs/cli-stderr.txt: Logs of stderr.
output/logs/cli-stdout.txt
output/logs/cli-stderr.txt
When installing this hook, your configuration file (jbr-experiment.json) will contain the following:
jbr-experiment.json
... "someHook": { "@id": "urn:jrb:bb:hookSome", "@type": "HookCli", "entrypoint": [ "comunica-sparql-http", "file@generated/dataset.nt", "-p", "3001" ], "statsFilePath": "stats.csv" } ...
entrypoint
statsFilePath
jbr.js is written by Ruben Taelman.
This code is copyrighted by Ghent University – imec and released under the MIT license.
Generated using TypeDoc
JBR Hook - CLI
A jbr hook type for a CLI-based hook.
Requirements
Configure an experiment hook
If an experiment requires a hook, then you can install this CLI-based hook as follows.
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: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.