apnscp has plenty of gems hidden throughout its code. Some features unarguably more helpful than others. Here is part one of a two part installment covering 11 unsung heroes that'll provide enough value to arouse your curiosity!

All commands can be interacted with from the control panel or command-line.

Command-line: cpcmd method:name arg1 arg2

Control panel (JavaScript console - F12): apnscp.cmd('method_name', ['arg1','arg2'], {async: false});

Note that CLI supports alternative invocation, i.e. module_method_name can be written as module:method-name. SOAP API and browser interactions do not support this. For clarity, alternative invocation is used.

Command-line usage

Browser usage in Chrome