gamesheet_sdk.admin.cli.commands.associations module¶
Associations command group.
This module provides the CLI interface for managing GameSheet associations, which represent the
top-level organizational unit in the GameSheet platform. An association corresponds to a league
operator (hockey association, tournament series, district body, etc.).
The command group provides sub-commands for listing associations accessible to the authenticated user.
When invoked without a sub-command, it defaults to the list operation.
.. admonition:: Examples
- List all associations in simple table format::
$ gamesheet-admin associations
- List associations in JSON format::
$ gamesheet-admin associations list –format json
- List associations with selected columns only::
$ gamesheet-admin associations list –columns id,title,created_at
- Save associations to a file::
$ gamesheet-admin associations list –format yaml –output associations.yaml