Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arthurhenrique/rusti-cal
⚡️ A cal(1) clone lightning-fast ~ more than 9999 years ~ Written in Rust 🦀
https://github.com/arthurhenrique/rusti-cal
calendar cli command-line date hacktoberfest rust terminal tool
Last synced: 29 days ago
JSON representation
⚡️ A cal(1) clone lightning-fast ~ more than 9999 years ~ Written in Rust 🦀
- Host: GitHub
- URL: https://github.com/arthurhenrique/rusti-cal
- Owner: arthurhenrique
- License: mit
- Created: 2021-04-22T23:14:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-19T01:32:04.000Z (5 months ago)
- Last Synced: 2024-10-29T15:40:09.276Z (about 1 month ago)
- Topics: calendar, cli, command-line, date, hacktoberfest, rust, terminal, tool
- Language: Rust
- Homepage: https://crates.io/crates/rusti-cal
- Size: 6.49 MB
- Stars: 58
- Watchers: 4
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rust - arthurhenrique/rusti-cal - cal](https://crates.io/crates/rusti-cal)] - A cal(1) clone lightning-fast ~ more than 9999 years ~ Written in Rust. (Libraries / Date and time)
- fucking-awesome-rust - arthurhenrique/rusti-cal - cal](crates.io/crates/rusti-cal)] - A cal(1) clone lightning-fast ~ more than 9999 years ~ Written in Rust. (Libraries / Date and time)
README
⚡️ Lightning-fast and minimal calendar command line. It's similar to `cal`.
Written in Rust 🦀![Tests](https://github.com/arthurhenrique/rusti-cal/actions/workflows/rust.yml/badge.svg)
## How Can Install?
```sh
$ cargo install rusti-cal
```If you are on NetBSD, there's a package available from the official repositories.
To install simply run:```sh
# pkgin install rusti-cal
```## Usage
```sh
$ rusti-cal
```## Hands On
![hands-on](./doc/rusti-cal.gif)
## Starting Day
+ Start Week With Sunday (Default)
```sh
$ rusti-cal --starting-day 0
```+ Start Week With Monday
```sh
$ rusti-cal --starting-day 1
```+ Start Week With Tuesday
```sh
$ rusti-cal --starting-day 2
```+ Start Week With Wednesday
```sh
$ rusti-cal --starting-day 3
```+ Start Week With Thursday
```sh
$ rusti-cal --starting-day 4
```+ Start Week With Friday
```sh
$ rusti-cal --starting-day 5
```+ Start Week With Saturday
```sh
$ rusti-cal --starting-day 6
```## Locale based names
The current locale can be overwritten with the `LANG` environment variable to display the calendar in another language.
```sh
$ LANG=fr_FR rusti-cal
```## Colored output
Enable colored output with the `--color` or `-c` option. This highlights weekend days and the current day.
```sh
$ rusti-cal --color
```![colored](./doc/colored.png)
## Show Week Numbers
Show week numbers with the `--week-numbers` or `-w` option.
```sh
$ rusti-cal --week-numbers
```## talk is cheap