🔧 General Usage
usage: xcsp [-l {TRACE,DEBUG,INFO,SUCCESS,WARNING,ERROR,CRITICAL}] [-h] [-v]
[--bootstrap]
{install,i,solver,s} ...
Option |
Description |
|---|---|
|
Display help message for the main CLI or any subcommand |
|
Show the current version of XCSP Launcher |
|
Set the logging level for console output (see below) |
|
Automatically install default solvers from system configuration |
📦 Available Subcommands
🔧 install
Install a solver from a configuration file, a repository, or a URL.
See full usage: Solver Installation
🚀 solver
Run a solver on an XCSP3 instance.
See full usage: Solving an Instance
You can also list installed solvers with:
xcsp solver --solvers
🪵 Logging
You can control the verbosity of the CLI using the --level option.
This feature is powered by the Loguru logging library.
Available log levels:
TRACEDEBUGINFO(default)SUCCESSWARNINGERRORCRITICAL
Example:
xcsp --level DEBUG solver --name ace --instance queens.xml
This will output more detailed execution logs (from xcsp-launcher) during the run.
This option not control the verbosity of the solver.