nushell/docs/commands/cal.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

761 B

title layout version
cal command 0.59.0

Display a calendar.

Signature

> cal --year --quarter --month --full-year --week-start --month-names

Parameters

  • --year: Display the year column
  • --quarter: Display the quarter column
  • --month: Display the month column
  • --full-year {int}: Display a year-long calendar for the specified year
  • --week-start {string}: Display the calendar with the specified day as the first day of the week
  • --month-names: Display the month names instead of integers

Examples

This month's calendar

> cal

The calendar for all of 2012

> cal --full-year 2012

This month's calendar with the week starting on monday

> cal --week-start monday