Technical references : Administration : WildFly Command line interface
WildFly Command line interface
The Command Line Interface (CLI) is the management tool for the WildFly application server. It allows users to connect to the application server and execute management operations available through the detyped management model. The CLI is launched using the jboss-cli.bat located in the WildFly bin directory.
For WildFly, all configuration is in the standalone-full.xml, located in …\Server\wildfly-*\standalone\configuration. Use the CLI to update the configuration. The tool can connect online or offline. If you run the tool online, it will indicate when a restart is needed to get the changes applied. The tool also has a GUI interface.
* 
Do not forget to set JAVA_HOME, the CLI needs this variable.
Connecting offline
1. Start the jboss-cli.bat without parameters.
2. Enter the following command: embed-server -c=standalone-full.xml
3. If connected, start your configuration. Tab completion is supported for all commands and options, i.e. node types and node names, operation names and parameter names.
Connecting online
To connect online, you need to know the management http port.
For more information on this subject, see Port set configuration.
You can also find the port in the installation_summary.txt:
located in \.install4j
Command: jboss-cli.bat --connect --controller=localhost:port
Connecting online in GUI mode
Command: jboss-cli.bat --connect --controller=localhost:port --gui
* 
For details on how to use the command line interface, check the WildFly Administrator’s Guide, see Command Line Interface.