pint-rs

Crates.iopint-rs
lib.rspint-rs
version0.1.3
sourcesrc
created_at2023-06-11 03:20:17.386854
updated_at2023-06-12 15:41:02.511106
descriptionParse Toggl time-tracking CSV files to generate invoices
homepage
repositoryhttps://github.com/kbonnici/pint-rs
max_upload_size
id887192
size65,081
Karl Bonnici (kbonnici)

documentation

README

🍻 Pint-rs

Author: Karl Bonnici (@kbonnici)

A command-line tool to parse Toggl reports and calculate invoice charges. Written in Rust, saving you time, allowing you to spend more of it doing what matters 🍺

Overview

Pint-rs is a command-line utility to parse a CSV file generated from the Toggl time-tracking app and automate the process of calculating the values to be inserted into an invoice, such as the following:

  • Total number of hours worked
  • Hours worked per project
  • Subtotal
  • GST applied
  • Grand total

Requirements

  • A CSV file generated from the Toggl time-tracking app

Installation

cargo install pint-rs

Usage

pint-rs --file <FILE_PATH> --gst <GST> --pay_rate <PAY_RATE>
  • GST is a percentage value (e.g. 0.05 for 5%)
  • Pay rate is an hourly rate (e.g. 50 for $50 per hour)
Commit count: 26

cargo fmt