2 releases

0.2.1 Oct 27, 2024
0.2.0 Oct 27, 2024

#453 in Parser implementations

Download history 138/week @ 2024-10-21 111/week @ 2024-10-28

249 downloads per month

MIT license

6KB
108 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 documentation for more details about possible configuration keys and values.

Dependencies

~2.8–4MB
~73K SLoC