JBoss Community

CLI Batch Mode

new comment by Todd Trimmer View all comments on this document

The syntax for 7.1.1+:

 

jboss-cli.sh file=file_path

 

If your commands in the file need a connection, the first line in your file should be "connect". It wouldn't let me combine --connect and file as command-line parameters.