You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not possible to run the command-line client with the argument materialize.
It results in the error Unmatched argument at index 0: 'materialize'.
Both Rulewerk v0.7.0 and the current master version contain this issue.
Yes, this mode of running Rulewerk was damaged during the re-implementation of the Rulewerk shell. In the future, a more flexible way of passing commands to the command-line client will be supported. To some extent, this is already possible as a workaround to this issue. The following works:
and then exit. Using the usual syntax, one can also export query results to CSV or materialize all facts to an rls file: see @help query and @help export in the rulewerk shell for details. Please note that @source directives that use paths inside the rls file must use paths that are relative to the location of the rls file.
In this way, arbitrary batch processing of tasks through rulewerk is already possible from the command line, but the interface is still a bit fragile (e.g., the newlines \n in the input are needed at the moment for the parser to work).
It is not possible to run the command-line client with the argument
materialize
.It results in the error
Unmatched argument at index 0: 'materialize'
.Both Rulewerk v0.7.0 and the current master version contain this issue.
Steps to reproduce:
java -jar rulewerk.jar materialize --rule-file=doid.rls --query=humansWhoDiedOfCancer\(\?X\) --query=humansWhoDiedOfNoncancer\(\?X\)
leads toUnmatched argument at index 0: 'materialize'
The text was updated successfully, but these errors were encountered: