amal.eda.ipxact_de.cli package

Submodules

amal.eda.ipxact_de.cli.commands module

amal.eda.ipxact_de.cli.commands.convert_xml(args)
Parameters:

args (Namespace)

Return type:

None

amal.eda.ipxact_de.cli.commands.get_transformations_paths(from_version, to_version)
amal.eda.ipxact_de.cli.commands.identify_xml(args)
Parameters:

args (Namespace)

Return type:

None

amal.eda.ipxact_de.cli.commands.run_transformation(input_file, output_file, xsl_file)
amal.eda.ipxact_de.cli.commands.validate_xml(args)
Parameters:

args (Namespace)

Return type:

None

Module contents

class amal.eda.ipxact_de.cli.CommandSpec(name, help, register)

Bases: object

Specification for registering a subcommand.

Attributes

name: Subcommand name. help: Short help/description. register: Callable that receives the subparsers object and returns the created subparser.

Parameters:
  • name (str)

  • help (str)

  • register (Callable[[_SubParsersAction], ArgumentParser])

help: str
name: str
register: Callable[[_SubParsersAction], ArgumentParser]
class amal.eda.ipxact_de.cli.HelpSection(title, rows, priority=100)

Bases: object

Runtime help section (built dynamically).

Parameters:
  • title (str)

  • rows (list[tuple[str, str]])

  • priority (int)

priority: int
rows: list[tuple[str, str]]
title: str
amal.eda.ipxact_de.cli.main()

Main entry point for the IP-XACT CLI.

Return type:

None