gamesheet_sdk.admin.cli.shared.game_runner module¶
Admin-side execution of the unified game option set.
The gamesheet-admin games commands are thin: they declare the shared option set from
gamesheet_sdk.common.cli.game_options and hand their collected parameters here, which translates them
into the season-schedule JSON:API calls in gamesheet_sdk.admin.games.
- gamesheet_sdk.admin.cli.shared.game_runner.resolve_season_id(ctx, season_id)[source]¶
Resolve the season from the sub-command’s own option or the
gamesgroup’s.--season-idis accepted in both positions so that a command line written forgamesheet-teams schedule games, which only has the sub-command spelling, runs unchanged here.
- gamesheet_sdk.admin.cli.shared.game_runner.run_create(ctx, params)[source]¶
Create a scheduled game from the unified option set.
- gamesheet_sdk.admin.cli.shared.game_runner.run_delete(ctx, params)[source]¶
Delete a scheduled game and report the outcome.
- gamesheet_sdk.admin.cli.shared.game_runner.run_list(ctx, params)[source]¶
List the season’s scheduled games.