Scal offers a simple command-line interface to display the Jalali (Shamsi) calendar, making it a handy tool for users who prefer terminal utilities. Perfect for developers and enthusiasts, it mimics the Unix cal command while catering specifically to those looking to access the Jalali calendar easily.
The Shamsi Calendar CLI is a straightforward command-line tool designed to display the Jalali (Shamsi) calendar in a terminal environment, much like the familiar Unix cal command. This utility is particularly beneficial for users who prefer the Shamsi calendar system and require a quick way to view dates.
Below are some basic command examples:
# Display current month
scal
# Display specific month
scal -m 4
# Display specific year
scal -y 1404
# Display specific month and year
scal -y 1404 -m 4
# Display three months (previous, current, next)
scal -3
# Display full year for the current year
scal -Y
Here are the available command line options:
| Flag | Short | Description | Example |
|---|---|---|---|
--year | -y | Year to display (default: current year) | scal -y 1404 |
--month | -m | Month to display (1-12, default: current) | scal -m 4 |
--three | -3 | Display three months spanning the date | scal -3 |
--full-year | -Y | Display entire year | scal -Y |
This tool not only simplifies the process of accessing the Shamsi calendar but also enhances productivity for users needing quick information at their fingertips.
No comments yet.
Sign in to be the first to comment.