Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 941 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 941 Bytes

This (hopefully) simple program is mainly aimed at saving and querying birthdays, by means of an XML file and a few commands.

Dependencies

* Python 3
* lxml

Usage

HappyMinday.py [-h] [-a] [-c] [-d DAY] [-i] [-m MONTH] [-r REMOVE] [-s SEARCH] [-o] [-u UPDATE]

Manages a birthday collection

optional arguments: -h, --help show this help message and exit
-a, --add Add an entry
-c, --count Count the entries
-d DAY, --day DAY Display entries for next X days
-i, --init Insert many entries
-m MONTH, --month MONTH
Display entries for next X months
-r REMOVE, --remove REMOVE
Remove an entry
-s SEARCH, --search SEARCH
Search entries
-o, --sort Sort entries
-u UPDATE, --update UPDATE
Update an entry