Skip to content

A python CLI application that displays the holidays in a given year

License

Notifications You must be signed in to change notification settings

estif0/ethiopian-holidays-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📆 𝕰𝖙𝖍𝖎𝖔𝖕𝖎𝖆𝖓 𝕱𝖊𝖘𝖙𝖎𝖛𝖆𝖑𝖘 𝕬𝖓𝖉 𝕳𝖔𝖑𝖎𝖉𝖆𝖞𝖘 𝕲𝖊𝖓𝖊𝖗𝖆𝖙𝖔𝖗📆

  • A python CLI that generates the dates of main holidays of each year in the ethiopian calendar.

Features

  • The program has two main features:

1. Prints a table of the holidays

  • Assuming you are in the directory of the file main.py, you can enter the following command:
python3 main.py [year] -a

or

python3 main.py -a

Example:

python3 main.py 2015 -a

or you can just use the -a argument

python3 main.py -a
  • The command will return a table like:

Table display

2. Prints a date for a specific holiday

  • Again, assuming you are in the directory of the file main.py, you can enter the following command:
python3 main.py [year] [Holiday argument]

or

python3 main.py [Holiday argument]

Example:

python3 main.py 2015 --fasika

or

python3 main.py --fasika
  • The command will return:

Date display

  • Since there are multiple parameters for the holidays, you can run the following command for help
python3 main.py -h

If you want to know how all the calculations were made:

Click Here!


License: The repository is licensed under the MIT License.

About

A python CLI application that displays the holidays in a given year

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages