Passing CLI parameters from a file

Passing CLI parameters from a file

One or more text files may be used to pass some or all the parameters to the CLI. The @ prefix is used followed by the name of the file in the command. The file uses the JVM's default character encoding however file matching or globbing is not supported.

Example command

java -jar ./nexus-iq-cli*.jar @cli-params.txt

Example cli-params.txt

-i
Test123
-a
username:password
-s
http://localhost:8070
-t
build
./sample-application.zip

Search results

No results found.