Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 963 Bytes

README.md

File metadata and controls

33 lines (27 loc) · 963 Bytes

SCAL -- a simple CLI-based Persian calendar

Introduction

Scal is a very simple CLI-based Persian calendar that displays the current Shamsi month calendar and highlights the current date. The following is a screenshot:

Scal Screenshot

In addition to calendar view, Scal also supports a simple mode that just prints the current Persian date; so, it can be used with other CLI apps such as grep:

$ scal --simple

Output:

1398-11-07

When using the --simple flag, it's also possible to customize the output format using --format option:

$ scal --simple --format "%d/%02d/%02d"

Output:

1398/11/07

Get Started

Since SCAL is written in pure C, so it can be compiled for almost any target. Please use the following to get started:

$ git clone [email protected]:ramezanpour/scal.git
$ make
$ make install