Skip to content

[FR]: Parsing colors into several separate classes. #481

Open
@filippkos

Description

@filippkos

Is there an existing issue for this?

  • I have searched the existing issues

Describe the problem

I want to create a color structure more complex than one class with many fields inside. At least, I would like to be able to parse one or more xml files into several classes. It is possible to specify only one output class name. I didn't find such an option in the documentation.

# podspec.yaml
  colors:
    enabled: true
    outputs:
      class_name: CustomColors
    inputs:
      - assets/custom_colors.xml
      - assets/other_custom_colors.xml

Describe the solution

You can do it, for example, so that each xml file is parsed into a separate class.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions