5.3.1.20.6.3. cli.com.parameter.FileParameter

class cli.com.parameter.FileParameter(input_file: ~pathlib.Path | None = None, output_file: ~pathlib.Path | None = None, encoding: str = 'utf-8', can_logger: ~cli.com.parameter.CANLoggerParameter = <factory>)

Data class for file-based communication configuration.

input_file

Path to the input file (optional).

Type:

Path | None

output_file

Path to the output file (optional).

Type:

Path | None

encoding

File encoding (default “utf-8”).

Type:

str

can_logger

CAN logger parameters.

Type:

CANLoggerParameter

__init__(input_file: ~pathlib.Path | None = None, output_file: ~pathlib.Path | None = None, encoding: str = 'utf-8', can_logger: ~cli.com.parameter.CANLoggerParameter = <factory>) None

Methods

__init__([input_file, output_file, ...])

Attributes

encoding

input_file

output_file

can_logger