Formats DataWeave columns from the clipboard
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
col-align.py
col-format

README.md

dw-column-formatter

Formats DataWeave columns from the clipboard

To run this:

  1. Replace col-format bash code with path to your files
  2. Add the path to your files to your $PATH variable
  3. Restart your terminal
  4. Copy contents into clipboard
  5. Run terminal command col-format
  6. Paste formatted contents back into file editor

To run tests:

  1. python3 -m unittest col-align.Test

Notes

Please note this code has only been created to run on Mac and I have no plans to port it to other systems. It has also only been tested against the unit tests.