3 releases

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

#428 in Parser implementations

Download history 229/week @ 2024-10-25 20/week @ 2024-11-01 3/week @ 2024-11-15 121/week @ 2024-11-22 20/week @ 2024-11-29 9/week @ 2024-12-06

153 downloads per month

MIT license

21KB
134 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.7–4MB
~71K SLoC