← 返回命令列表

Linux command

carl 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Display

carl

Display

carl -m [3] -y [2024]

Display

carl -y [2024]

Display

carl -w

Display

carl -3

Display

carl -a

Display

carl -j

说明

carl is a command-line calendar tool written in Rust that displays colorful, formatted calendars in the terminal. It tries to mimic various cal(1) implementations but adds enhanced features like colors and iCal support. The output uses colors and formatting for improved readability compared to the traditional cal command. Carl can display single months, multiple months, full years, and highlight the current date. iCal files are configured via a config file (config.toml) using `[ical]` sections, and event dates are highlighted in the calendar view. The `--agenda` flag lists event summaries below the calendar.

参数

-m _MONTH_
Display a specific month (1-12).
-y _YEAR_
Display a specific year.
-w
Show ISO week numbers.
-1, --one
Display single month output (default).
-3, --three
Display previous, current, and next month.
-n, --months _NUMBER_
Display current and following months.
-s, --sunday
Display Sunday as first day of week.
-j, --julian
Display Julian dates (days numbered from January 1).
-a, --agenda
Display event agenda below the calendar.
--theme _THEME_
Set the color theme.
--themestyletype _TYPE_
Use "dark" or "light" background theme styles.

FAQ

What is the carl command used for?

carl is a command-line calendar tool written in Rust that displays colorful, formatted calendars in the terminal. It tries to mimic various cal(1) implementations but adds enhanced features like colors and iCal support. The output uses colors and formatting for improved readability compared to the traditional cal command. Carl can display single months, multiple months, full years, and highlight the current date. iCal files are configured via a config file (config.toml) using `[ical]` sections, and event dates are highlighted in the calendar view. The `--agenda` flag lists event summaries below the calendar.

How do I run a basic carl example?

Run `carl` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -m _MONTH_ do in carl?

Display a specific month (1-12).