Skip to content

ramezanpour/scal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple CLI-based Persian calendar

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published