Package org.tweetyproject.cli
Class TweetyCli
java.lang.Object
org.tweetyproject.cli.TweetyCli
This class implements a simple command line interface for accessing
the functionalities provided by the TweetyProject libraries.
- Author:
- Matthias Thimm
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The argument name for the input file(s)static final String
The argument name for the input file(s) (short)static final String
The argument name for the parser(s) used for reading the input file(s)static final String
The argument name for the parser(s) used for reading the input file(s) (short)static final String
The argument name for the file used for logging (if this parameter is not set, logging is performed on the standard output)static final String
The argument name for the file used for logging (if this parameter is not set, logging is performed on the standard output) (short)static final String
The argument name for the log level (The possible values are described byTweetyConfiguration.LogLevel
, default isTweetyConfiguration.LogLevel.INFO
)static final String
The argument name for the log level (The possible values are described byTweetyConfiguration.LogLevel
, default isTweetyConfiguration.LogLevel.INFO
) (short)static final String
The argument name for advanced optionsstatic final String
The argument name for advanced options (short)static final String
The argument name for the output filestatic final String
The argument name for the output file (short)static final String
The argument name for the writer used for writing the output file.static final String
The argument name for the writer used for writing the output file (short)static final String
The argument name for a querystatic final String
The argument name for a query -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Program entry.
Current program call:
- java -jar TweetyCLI.jar --input RPCLKBFILE --parser rpclme --output RPCLPROBFILE --writer X --options [rpcl.semantics=Y,rpcl.inference=Z]
* - java -jar TweetyCLI.jar --input RPCLKBFILE RPCLPROBFILE --parser rpclme X --query=SOMEQUERY --options [rpcl.semantics=Y,rpcl.inference=Z] with X\in{rpclmeProb, rpclmeCondProb}, Y\in {averaging,aggregating}, Z\in{standard,lifted}
-
Field Details
-
ARG__INPUT_FILES
-
ARG__INPUT_FILES_SHORT
The argument name for the input file(s) (short)- See Also:
-
ARG__INPUT_PARSER
The argument name for the parser(s) used for reading the input file(s)- See Also:
-
ARG__INPUT_PARSER_SHORT
The argument name for the parser(s) used for reading the input file(s) (short)- See Also:
-
ARG__OUTPUT_FILE
-
ARG__OUTPUT_FILE_SHORT
The argument name for the output file (short)- See Also:
-
ARG__OUTPUT_WRITER
The argument name for the writer used for writing the output file.- See Also:
-
ARG__OUTPUT_WRITER_SHORT
The argument name for the writer used for writing the output file (short)- See Also:
-
ARG__LOG_LEVEL
The argument name for the log level (The possible values are described byTweetyConfiguration.LogLevel
, default isTweetyConfiguration.LogLevel.INFO
)- See Also:
-
ARG__LOG_LEVEL_SHORT
The argument name for the log level (The possible values are described byTweetyConfiguration.LogLevel
, default isTweetyConfiguration.LogLevel.INFO
) (short)- See Also:
-
ARG__LOG_FILE
The argument name for the file used for logging (if this parameter is not set, logging is performed on the standard output)- See Also:
-
ARG__LOG_FILE_SHORT
The argument name for the file used for logging (if this parameter is not set, logging is performed on the standard output) (short)- See Also:
-
ARG__OPTIONS
-
ARG__OPTIONS_SHORT
The argument name for advanced options (short)- See Also:
-
ARG__QUERY
-
ARG__QUERY_SHORT
-
-
Constructor Details
-
TweetyCli
public TweetyCli()
-
-
Method Details
-
main
Program entry.
Current program call:
- java -jar TweetyCLI.jar --input RPCLKBFILE --parser rpclme --output RPCLPROBFILE --writer X --options [rpcl.semantics=Y,rpcl.inference=Z]
* - java -jar TweetyCLI.jar --input RPCLKBFILE RPCLPROBFILE --parser rpclme X --query=SOMEQUERY --options [rpcl.semantics=Y,rpcl.inference=Z] with X\in{rpclmeProb, rpclmeCondProb}, Y\in {averaging,aggregating}, Z\in{standard,lifted}- Parameters:
args
- command line arguments.
-