The Splunk Enterprise command-line interface (CLI) is a text interface that you use to enter system commands, edit configuration files, and run searches.
Splunk Enterprise also provides command-line tools that help you to troubleshoot deployment and configuration issues.
For more information
In the Admin Manual:
In Search Reference