tuxemon.cli.commands.trainer_battle module

class tuxemon.cli.commands.trainer_battle.TrainerBattleCommand[source]

Bases: CLICommand

Command to start a trainer battle.

description: ClassVar[str] = 'Start a trainer battle.'
example: ClassVar[str] = 'trainer_battle maple_girl'
invoke(ctx, line)[source]

Start a trainer battle

Parameters:
  • ctx (InvokeContext) – Contains references to parts of the game and CLI interface.

  • line (str) – Complete text as entered into the prompt.

Return type:

None

name: ClassVar[str] = 'trainer_battle'