Buckets:

download
raw
2.44 kB
from __future__ import annotations
from typing import TYPE_CHECKING
from randovania.cli.commands import benchmark
from randovania.cli.commands.database_images import add_convert_database_images_command
from randovania.cli.commands.expected_seed_hash import add_update_expected_seed_hash_command
from randovania.cli.commands.hash_input import add_hash_input_command
from randovania.cli.commands.new_game import add_create_databases, add_new_game_command
from randovania.cli.commands.refresh_presets import add_refresh_presets_command
from randovania.cli.commands.render_regions import render_regions_graph
from randovania.cli.commands.update_committed import (
add_update_acceptance_tests_command,
add_update_committed_command,
)
from randovania.cli.commands.website import (
create_export_videos_yaml_command,
create_extract_game_data_command,
create_readme_sections_command,
)
if TYPE_CHECKING:
from argparse import ArgumentParser, Namespace, _SubParsersAction
__all__ = ["create_subparsers"]
def create_subparsers(sub_parsers: _SubParsersAction) -> None:
parser: ArgumentParser = sub_parsers.add_parser("development", help="Actions that helps Randovania development")
sub_parsers = parser.add_subparsers(dest="command")
add_refresh_presets_command(sub_parsers)
add_new_game_command(sub_parsers)
add_create_databases(sub_parsers)
render_regions_graph(sub_parsers)
add_convert_database_images_command(sub_parsers)
create_export_videos_yaml_command(sub_parsers)
create_readme_sections_command(sub_parsers)
create_extract_game_data_command(sub_parsers)
add_hash_input_command(sub_parsers)
add_update_expected_seed_hash_command(sub_parsers)
add_update_committed_command(sub_parsers)
add_update_acceptance_tests_command(sub_parsers)
def check_command(args: Namespace) -> None:
if args.command is None:
parser.print_help()
raise SystemExit(1)
parser.set_defaults(func=check_command)
benchmark_parser = sub_parsers.add_parser(
"benchmark", help="Actions for benchmarking Randovania in a consistent way."
)
benchmark.add_commands(benchmark_parser.add_subparsers(dest="command"))
def bench_check_command(args: Namespace) -> None:
if args.command is None:
benchmark_parser.print_help()
raise SystemExit(1)
benchmark_parser.set_defaults(func=bench_check_command)

Xet Storage Details

Size:
2.44 kB
·
Xet hash:
050cf502e5d8c292c55f4f08ad6be5f43ae366bbd98637927e93a6ec26393d54

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.