| Crates.io | compact-calendar-cli |
| lib.rs | compact-calendar-cli |
| version | 0.2.0 |
| created_at | 2025-12-29 18:47:48.074343+00 |
| updated_at | 2026-01-14 01:32:03.071442+00 |
| description | A compact calendar CLI with TOML-based date details |
| homepage | |
| repository | |
| max_upload_size | |
| id | 2011096 |
| size | 532,000 |
A compact year-at-a-glance calendar CLI with TOML-based event highlighting.
Inspired by David Seah's Compact Calendar.

Either build from published source in crates.io. Compiler support: requires rustc 1.82.0+
$ cargo install compact-calendar-cli --locked
Or download from github releases.
A compact calendar CLI with TOML-based date details
Usage: compact-calendar-cli [OPTIONS]
Options:
-y, --year <YEAR>
Year to display (defaults to current year)
-c, --config <CONFIG>
Path to TOML configuration file with date details [default: calendar.toml]
-s, --sunday
Week starts on Sunday (default is Monday)
--no-dim-weekends
Don't dim weekend dates (by default weekends are dimmed)
-w, --work
Work mode: never apply colors to Saturday/Sunday
--no-strikethrough-past
Don't strikethrough past dates (by default past dates are crossed out)
-m, --month <MONTH>
Display a specific month (number 1-12, name like "march", or "current")
-f, --following-months <FOLLOWING_MONTHS>
Display current month plus N additional months (requires --month current)
-h, --help
Print help
-V, --version
Print version
Create a calendar.toml file to define your events and date ranges:
# Date ranges with colors
[[ranges]]
start = "2025-01-01"
end = "2025-01-15"
color = "blue"
description = "New Year Sprint"
# Yearly recurring ranges (format: MM-DD)
[[ranges]]
start = "12-25"
end = "12-31"
color = "cyan"
description = "Holiday Break"
# Individual dates
[dates."2025-04-01"]
description = "Project Deadline"
color = "red"
# Yearly recurring events (format: MM-DD)
[dates."01-01"]
description = "New Year's Day"
color = "yellow"
orange, yellow, green, blue, purple, red, cyan, gray, light_orange, light_yellow, light_green, light_blue, light_purple, light_red, light_cyan