I got this code from user guide of this package
https://packagecontrol.io/packages/Chain%20of%20Command
In the guide, they mention this line:
window.run_command("chain",{"commands":[["select_all"],["copy"]]})
How to actually run that command/code?