Config Operation
The configuration of SurgingCloud is also stored in the database file. That's why you should always set --db "path/to/db".
Get current config¶
Output
{
"Id": 1,
"RarPath": "D:\\WinRAR\\Rar.exe",
"CheckUpdateFrequencyInHours": 24,
"LastCheckUpdateAt": "2025-08-09T07:54:34",
"Others": null
}
The output is in json format.
Currently, only RarPath field is in use. You can ignore other fields.
Update config¶
Arguments
--rar "D:\WinRAR\Rar.exe": set the path toRar.exeinstalled on your computer.
Output
Validate config¶
Output