-
Notifications
You must be signed in to change notification settings - Fork 10
CLI Reference
Eduardo Ulibarri Toledo edited this page Mar 3, 2022
·
9 revisions
The API's CLI currently supports the following launch-arguments:
-
--https
Attempt to serve the API via HTTPS (default is false), searching for certificates as specified in the current environment. -
-p, --port
Port in which the API will listen for requests. Values must be in range 1-65535 (default is 8080). -
-s, --silent
Enable silent mode in order not to log any output to console (default is false) -
-v, --verbose
Show additional logging information (use cumulative times for additional info, like:-vvv
) -
--version
Print the version of the program -
--help
Print the help menu
When using the -v, --verbose
CLI argument, the following logging messages are shown on console at each time:
-
No verbose argument
ERROR level messages -
-v
WARN level messages and upwards -
-vv
INFO level messages and upwards (includes client connections and requests) -
-vvv
DEBUG level messages and upwards
The verbosity parameter will be ignored whenever
-s, --silent
is in use
In case the app is having trouble to generate permalinks due to an SSL issue, try adding the following argument:
-Djdk.tls.client.protocols=TLSv1.2
- Launching RDFShape in port 8081:
rdfshape -p 8081
- Launching RDFShape in port 80, try to use the HTTPS configuration from the environment:
rdfshape -p 80 --https
- Launching RDFShape in port 8080, with the maximum verbosity level:
rdfshape -vvv
WESO Research Group - See RDFShape API's webpage