Command Line Interface¶
usage: pyagar [-h] [--disable-hw] [-n NICK] [-d] [-r REGION] [-s SAVE] [--version] [--create-party | --join-party JOIN_PARTY] {list-regions,play,spectate,bot,replay} ...
- Options:
--disable-hw=False disable hardware acceleration -n=pyagar, --nick=pyagar player cell’s nickname -d, --debug enable debug mode; use multiple times to increase the debug level -r=EU-London, --region=EU-London the region you want to connect to -s, --save save the gameplay in a file; you can replay it later using the ``replay`` command --version show program’s version number and exit --create-party=False create a new party and print the shared token --join-party join an already created party - Sub-commands:
- list-regions
print a table with the list of available regions
usage: pyagar list-regions [-h]
- play
start a new game
usage: pyagar play [-h]
- spectate
connect to the server in spectator mode
usage: pyagar spectate [-h]
- bot
like ``play`` mode but the cell is controlled by a ``Controller`` class
usage: pyagar bot [-h] (--list-types | --type TYPE | --from-file FROM_FILE)
- Options:
--list-types=False print a table with the available ``Controllers`` --type type of controller to use --from-file use a controller from a python file
- replay
play back a recorded gameplay
usage: pyagar replay [-h] gameplay_file
- Positional arguments:
gameplay_file full path to the record file