flexi-0.2.0 is not a library.
flexi
A minimal CLI tool for tracking your flexi-time balance.
Installation
Homebrew (macOS/Linux):
crates.io (requires Rust):
From source:
Usage
All of the following time formats are accepted:
| Format | Example |
|---|---|
N hr M min |
1 hr 30 min, 45 min, 2 hr |
N hour M minutes |
1 hour 30 minutes, 2 hours |
| Compact | 1h30m, 1h, 30m, 1.5h |
| Decimal hours | 1.5, 0.5 |
| Decimal hours with unit | 1.5 hours, 1.5 hr |
| European decimal | 1,5, 1,5 hours |
Negative balances display as e.g. -1 hr 30 min.
Configuration
Create ~/.config/flexi/flexi.toml to override the storage path:
= "/path/to/flexi.txt"
Without config, the balance is stored at ~/.local/share/flexi/flexi.txt (or the platform equivalent).
License
MIT