main#
SOAP Agent command line user interface.
See Command for details.
- class acore_soap_agent.cli.main.Command[source]#
Acore Soap Agent command line interface. All these commands can only be used on EC2.
- gm(cmd: str, user: Optional[str] = None, pwd: Optional[str] = None, host: Optional[str] = None, port: Optional[int] = None, delay: int = 100, raises: bool = True, s3uri: Optional[str] = None)[source]#
Run single GM command. See
acore_soap_app.cli.impl.gm()for implementation details.Example:
acoresoapagent gm --help acoresoapagent gm ".server info" acoresoapagent gm ".server info" --user myuser --pwd mypwd acoresoapagent gm ".server info" --s3uri s3://bucket/output.json
- Parameters:
cmd – the GM command to run
user – in game GM account username, if not given, then use “admin”
pwd – in game GM account password, if not given, then use “admin”
host – wow world server host, default “localhost”
port – wow world server SOAP port, default 7878
delay – The delay between sending each GM command.
raises – raise error if any of the GM command failed.
s3uri – if None, then return the response as JSON, otherwise, save the response to S3.