Skip to content

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