Quick Start
Ramadan CLI provides Sehar and Iftar timings right in your terminal. The default command shows today’s timings:Checking Today’s Timings
The simplest way to check today’s Sehar and Iftar times:City-Specific Queries
You can check timings for any city without changing your saved configuration:- City Name
- City, Country
- City Aliases
Passing a city as an argument is a one-off lookup and does not overwrite your saved default location.
Viewing the Full Month
View all 30 days of Ramadan at once:Checking Specific Days
View timings for a specific roza day (1-30):Status Bar Output
For status bars, coding agents, or simple scripts, use the--status flag for single-line output:
- Status bars (tmux, i3, waybar)
- Coding agents and LLM tools
- Shell scripts
The
--status flag silently fails if there’s an error, making it safe for automated use.Plain Text Output
Disable the ASCII banner for cleaner output:JSON Output
Get structured JSON output for programmatic use:Exit Codes
0- Success1- Runtime error, validation error, network failure, or data fetch failure
Common Usage Examples
Understanding the Output
Time Semantics
- Sehar = Fajr prayer time (when fasting begins)
- Iftar = Maghrib prayer time (when fasting ends)
- All times are displayed in 12-hour format with AM/PM
Status Indicators
The CLI shows your current status:- Before roza day - Ramadan hasn’t started yet
- Sehar window open - You can eat suhoor
- Roza in progress - Fasting is active
- Iftar time - Time to break your fast
Row Annotations
When viewing all days:← current- Today’s roza← next- Tomorrow’s roza
Using Different CLI Names
All these commands work identically:roza is the shortest and most convenient alias.