copefmt 0.1.0

copium code formatter
Documentation
  • Coverage
  • 0%
    0 out of 4 items documented0 out of 3 items with examples
  • Size
  • Source code size: 10.99 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 295.22 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 22s Average build duration of successful builds.
  • all releases: 22s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • tommyjl/copefmt
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • tommyjl

copefmt

copefmt is the copium code formatter for languages that don't have any better options.

How to use

copefmt read from stdin and writes to stdout by default.

echo '*[]{...,foo->,bar->{...,baz->}}' | copefmt
*[]{
    ...,
    foo->,
    bar->{
        ...,
        baz->
    }
}

But filenames can be provided as arguments.

copefmt --input data/simple.groq --output formatted_simple.groq

Installation

Install from source: cargo install --path .