3 releases

new 0.2.2 Nov 24, 2024
0.2.1 Oct 27, 2024
0.2.0 Oct 27, 2024

#443 in Parser implementations

Download history 246/week @ 2024-10-27 3/week @ 2024-11-03

249 downloads per month

MIT license

21KB
135 lines

tergo

tergo (lat. to clean) is a command line program that formats R code.

Installation

cargo

If you have cargo installed, then you can simply run:

cargo install tergo

, and the newest version of tergo is going to be installed on your machine.

From source

If you want to install from source, you will need to have cargo installed on your machine.

  1. Clone the repository:

    git clone https://github.com/kpagacz/tergo
    
  2. Install the binary via cargo:

    cargo install --path ./tergo
    

tergo will be available after these steps.

Usage

Run:

tergo --help

For tergo's manual.

Configuration

You can configure tergo via a tergo.toml file. See tergo-lib README or tergo-lib documentation for more details about possible configuration keys and values.

Dependencies

~2.8–4MB
~72K SLoC