myanmar_calendar_dart_cli 0.0.3 copy "myanmar_calendar_dart_cli: ^0.0.3" to clipboard
myanmar_calendar_dart_cli: ^0.0.3 copied to clipboard

Myanmar calendar utility CLI powered by myanmar_calendar_dart 2.x.

Myanmar calendar utility CLI built on myanmar_calendar_dart 2.x.

License: MIT

Install #

dart pub global activate myanmar_calendar_dart_cli

Run with:

mycal --help

Global options #

-l, --language           Output language (en, my, zawgyi, mon, shan, karen)
-z, --timezone           Timezone offset (default: 6.5)
    --calendar-type      0=British, 1=Gregorian, 2=Julian
    --sasana-year-type   0, 1, or 2
    --json               Print JSON output
-v, --version            Print CLI version

Commands #

  • today - show today's Western/Myanmar/Shan date with holidays
  • convert - convert between Western and Myanmar dates
  • info - full details for one date (astro + holidays + chronicle)
  • calendar - render Myanmar month grid, or full Western month grid with --western-month
  • holidays - list holidays for a date or a whole Western month
  • astro - astrological breakdown for one date
  • ai - generate an AI prompt from date astrology data
  • validate - validate Myanmar date input
  • year-info - inspect metadata for a Myanmar year
  • diagnostics - package/runtime diagnostics and cache stats

Examples #

# Today
mycal today

# Convert Western -> Myanmar
mycal convert --western 2026-02-28

# Convert Myanmar -> Western
mycal convert --myanmar 1387-11-11

# Detailed info for a date
mycal info --western 2026-02-28

# Monthly Myanmar calendar
mycal calendar --year 1387 --month 11

# Myanmar month grid using fortnight day values
mycal calendar --year 1388 --month 0 --fortnight-day

# Full Gregorian month grid
mycal calendar --western-month 2026-07

# Holidays in a Western month
mycal holidays --month 2026-04

# Astrology
mycal astro --myanmar 1387-11-11

# AI prompt
mycal ai --western 2026-02-28 --type horoscope

# Validate Myanmar date
mycal validate --myanmar 1387-11-11

# Year metadata
mycal year-info --year 1387

# JSON output with language override
mycal --language my --json info --western 2026-02-28