Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Command-Line Help for pcal

This document contains the help content for the pcal command-line program.

Command Overview:

pcal

A Shahanshahi (Imperial Persian) calendar for the terminal.

Displays the current month by default. Accepts an optional month and year to show a specific month, or just a year to show all 12 months. Years are counted from the founding of the Persian Empire by Cyrus the Great.

Usage: pcal [OPTIONS] [MONTH] [YEAR]

EXAMPLES: pcal Show current month pcal 2584 Show all months of year 2584 pcal mordad 2584 Show Mordad (month 5) of 2584 pcal 5 2584 Same as above, by number pcal -3 Show previous, current, and next month pcal –persian Use Persian script and digits

Arguments:
  • <MONTH> — Month number (1-12) or name (farvardin, mordad, مرداد, …)
  • <YEAR> — Shahanshahi year, e.g. 2584
Options:
  • -3 — Display the previous, current, and next month side by side
  • -y, --year-view — Display all 12 months of the year
  • -n <NUM> — Display the next NUM months starting from the current month
  • -j — Display day-of-year numbers instead of day-of-month
  • --persian — Use Persian script (month names, weekday names, and digits)
  • --no-color — Disable colored output (also respects NO_COLOR env variable)

This document was generated automatically by clap-markdown.