| Crates.io | officedays |
| lib.rs | officedays |
| version | 0.3.5 |
| created_at | 2025-03-24 23:49:10.760794+00 |
| updated_at | 2025-08-01 17:32:04.186381+00 |
| description | A CLI tool for hybrid workers to track and project required office attendance for each quarter |
| homepage | https://github.com/lst1000/officedays |
| repository | https://github.com/lst1000/officedays |
| max_upload_size | |
| id | 1604556 |
| size | 29,788 |
officedays is a command-line tool that calculates how many days need to be worked in the office each quarter for hybrid workers.
It reads from a yearly TOML configuration file and takes into account bank holidays and booked leave, assuming they count as days worked in the office. If you include future planned office days, it also provides a projection to see whether you’re on track to meet your target.
~/.config/officedays/2025.toml on Linux or ~/Library/Application Support/officedays/2025.toml on macOS)-e flag using $EDITOR or defaults to nano-e creates a new config file and exitsofficedays [-e | -h]
-e
Edit the TOML file for the current year using $EDITOR, or fall back to nano if unset. If no config files exists, a new one is created.
-h
Show the help message.
Running the tool without any arguments will display a summary of your current quarter’s office day requirement, leave, bank holidays, days worked, and projection.
The program expects a TOML file named YYYY.toml (e.g. 2025.toml) stored in your system’s config directory. This file contains:
An example configuration is available at example.toml.
Install using cargo:
cargo install officedays
Written by Laurence Stock-Tully