Xiangiqgame
AI engine for Xiangqi
Loading...
Searching...
No Matches
xiangqipy.command_input.XiangqiGameCommandLine Class Reference

Collects info from command line args out outputs as a dictionary. More...

Collaboration diagram for xiangqipy.command_input.XiangqiGameCommandLine:
Collaboration graph

Public Member Functions

def __init__ (self)
 
dict[str, Any] get_args (self)
 

Protected Member Functions

def _attach_args (self)
 

Protected Attributes

 _parser
 

Detailed Description

Collects info from command line args out outputs as a dictionary.

Includes default values for any items not specified in command line args.

Definition at line 276 of file command_input.py.

Constructor & Destructor Documentation

◆ __init__()

def xiangqipy.command_input.XiangqiGameCommandLine.__init__ (   self)

Definition at line 283 of file command_input.py.

Member Function Documentation

◆ _attach_args()

def xiangqipy.command_input.XiangqiGameCommandLine._attach_args (   self)
protected

Definition at line 292 of file command_input.py.

◆ get_args()

dict[str, Any] xiangqipy.command_input.XiangqiGameCommandLine.get_args (   self)

Definition at line 416 of file command_input.py.

Member Data Documentation

◆ _parser

xiangqipy.command_input.XiangqiGameCommandLine._parser
protected

Definition at line 284 of file command_input.py.


The documentation for this class was generated from the following file: