CLI Game management
This section explains how to manage organization's games. Games group multiple game versions together so they share the following configuration:
info
To manage games, you need to have admin rights within the organization.
Listing games
You can list all games in your organization with:
elympics games list
Furthermore, you can add the following flags for filtering:
-l
or--limit
– to limit the amount of entries (defaults to 10),-s
or--skip
– to skip first N entries,-t
or--sortingType
– sort byName
orDate
(default isDate
),-d
or--sortingDirection
– sort orderAscending
orDescending
(default isDescending
),-w
or--startsWith
– to only show games that start with a pattern passed as the argument.
Creating and managing games
Creating a new game is done with:
elympics games create -g <game name> -f <fleet id>
You can get a fleet id
by listing available fleets.
To update game data, you need to provide its game ID:
elympics games update -g <game id>
then fill the fields you want to modify:
-n
or--game-name
– game name,-f
or--fleet-id
– fleet identifier,-b
or--external-backend
– url for external game backend,-j
or--queue-join-url
– url for queue join callback,-l
or--queue-leave-url
– url for queue leave callback.