rusti-cal

Crates.iorusti-cal
lib.rsrusti-cal
version1.1.0
sourcesrc
created_at2021-04-24 15:23:32.164271
updated_at2023-01-23 14:31:55.15605
description⚡️ Lightning-fast and minimal calendar command line. It's similar to `cal`. Written in Rust 🦀
homepage
repositoryhttps://github.com/arthurhenrique/rusti-cal
max_upload_size
id389000
size653,747
Arthur Henrique (arthurhenrique)

documentation

README

⚡️ 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
Commit count: 78

cargo fmt