copefmt

Crates.iocopefmt
lib.rscopefmt
version0.1.0
sourcesrc
created_at2022-11-10 14:05:28.356315
updated_at2022-11-10 14:05:28.356315
descriptioncopium code formatter
homepagehttps://github.com/tommyjl/copefmt
repositoryhttps://github.com/tommyjl/copefmt
max_upload_size
id712167
size10,995
Tommy Joe Lund (tommyjl)

documentation

https://github.com/tommyjl/copefmt

README

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 .

Commit count: 7

cargo fmt