An open API service indexing awesome lists of open source software.

https://github.com/raspi/kallu

CLI Calendar with colors
https://github.com/raspi/kallu

calendar command-line date go golang month month-view week year

Last synced: 6 months ago
JSON representation

CLI Calendar with colors

Awesome Lists containing this project

README

          

# kallu

![GitHub All Releases](https://img.shields.io/github/downloads/raspi/kallu/total?style=for-the-badge)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/raspi/kallu?style=for-the-badge)
![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/raspi/kallu?style=for-the-badge)
[![Go Report Card](https://goreportcard.com/badge/github.com/raspi/kallu)](https://goreportcard.com/report/github.com/raspi/kallu)

Simple CLI calendar. Reimplements [cal](https://en.wikipedia.org/wiki/Cal_(command)). Supports localization.

![Screenshot](https://github.com/raspi/kallu/blob/main/_assets/kallu_default.png)

![Screenshot](https://github.com/raspi/kallu/blob/main/_assets/kallu_count_next.png)

## Usage

```text
kallu - simple CLI calendar
Version v1.0.1 d263afdbf05c795c4d1a95b5093888b7b700dc61 2023-03-15T18:22:18+02:00
(c) Pekka Järvinen 2022- [ https://github.com/raspi/kallu ]

Parameters:
-count How many months per line default: "3"
-dow Start day for week 0-6 (sun-sat) default: "1"
-fullyear Print full year default: "false"
-month Month 1-12 (defaults to current month)
-next How many next months default: "1"
-no-color Disable color output default: "false"
-one Only one month, equivalent to -next 0 -prev 0 default: "false"
-prev How many previous months default: "1"
-year Year (defaults to current year)

Examples:
Full year:
./kallu -fullyear
Only this month:
./kallu -one
One calendar at a time:
./kallu -count 1
```

## Can I add a translation?

Yes. See [locales directory](cmd/kallu/locales).

![Screenshot](https://github.com/raspi/kallu/blob/main/_assets/kallu_fullyear_finnish.png)

Displaying calendar in Finnish.

## Is it any good?

Yes.