#calendar #cal

bin+lib rusti-cal

⚡️ Lightning-fast and minimal calendar command line. It’s similar to cal. Written in Rust 🦀

12 releases (3 stable)

1.1.0 Jan 23, 2023
1.0.1 Dec 15, 2022
0.4.5 Sep 9, 2022
0.4.4 Oct 20, 2021
0.4.3 May 19, 2021

#56 in Date and time

Download history 3/week @ 2022-10-11 6/week @ 2022-10-18 3/week @ 2022-10-25 7/week @ 2022-11-01 2/week @ 2022-11-08 1/week @ 2022-11-15 4/week @ 2022-11-22 1/week @ 2022-11-29 18/week @ 2022-12-06 63/week @ 2022-12-13 4/week @ 2022-12-20 8/week @ 2022-12-27 3/week @ 2023-01-03 6/week @ 2023-01-10 21/week @ 2023-01-17 29/week @ 2023-01-24

61 downloads per month

Custom license

565KB
661 lines

⚡️ Lightning-fast and minimal calendar command line. It's similar to cal. Written in Rust 🦀

Tests

How Can Install?

$ cargo install rusti-cal

If you are on NetBSD, there's a package available from the official repositories. To install simply run:

# pkgin install rusti-cal

Usage

$ rusti-cal <year>

Hands On

hands-on

Starting Day

  • Start Week With Sunday (Default)
$ rusti-cal <year> --starting-day 0
  • Start Week With Monday
$ rusti-cal <year> --starting-day 1
  • Start Week With Tuesday
$ rusti-cal <year> --starting-day 2
  • Start Week With Wednesday
$ rusti-cal <year> --starting-day 3
  • Start Week With Thursday
$ rusti-cal <year> --starting-day 4
  • Start Week With Friday
$ rusti-cal <year> --starting-day 5
  • Start Week With Saturday
$ rusti-cal <year> --starting-day 6

Locale based names

The current locale can be overwritten with the LANG environment variable to display the calendar in another language.

$ LANG=fr_FR rusti-cal <year>

Colored output

Enable colored output with the --color or -c option. This highlights weekend days and the current day.

$ rusti-cal <year> --color

colored

Show Week Numbers

Show week numbers with the --week-numbers or -w option.

$ rusti-cal <year> --week-numbers

Dependencies

~5MB
~86K SLoC