BoxLang 🚀 A New JVM Dynamic Language Learn More...

CommandBox ColdSpring XML to WireBox DSL

v1.1.0+12 CommandBox Modules

ColdSpring XML to WireBox DSL Converter

This module can convert any ColdSpring XML file to the equivalent programmatic DSL for usage by WireBox Dependency Injection Framework (https://wirebox.ortusbooks.com/configuration/configuring-wirebox).

Usage

Run the coldspring-to-wirebox command and pass in the location of the XML file to convert with an optional destination for the WireBox.cfc

# Produces a WireBox.cfc where you run the command
coldspring-to-wirebox tests/coldspring.xml.cfm

# Stores the WireBox.cfc in the same location as the file above
coldspring-to-wirebox tests/coldspring.xml.cfm tests/WireBox.cfc

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.


[v1.1.0] => 2022-MAR-30

Added

  • ColdSpring Map support to WireBox structs
  • ColdSpring List support to WireBox arrays

[v1.0.0] => 2022-MAR-24

  • Initial Creation of this project

$ box install commandbox-coldspring-to-wirebox

No collaborators yet.
     
  • {{ getFullDate("2022-03-24T17:21:04Z") }}
  • {{ getFullDate("2022-03-30T16:44:10Z") }}
  • 1,958
  • 978