|
|
README
|
|
|
|
|
|
This program can perform five different tasks:
|
|
|
|
|
|
•Given a specific date provide the current number of open and closed tasks.
|
|
|
The date is inclusive so if we ask for midnight Oct 12, a task opened or
|
|
|
closed on midnight would count.
|
|
|
|
|
|
•Given a specific start and end date, how many tasks were opened and how many
|
|
|
were closed in that range. The start date is inclusive, the end date is exclusive.
|
|
|
|
|
|
•Given a particular instanceId, provide the name of the most recent task.
|
|
|
|
|
|
•Given a particular instanceId, provide the count of tasks.
|
|
|
|
|
|
•Given a particular assignee, provide the count of open and closed tasks for that assignee.
|
|
|
|
|
|
In order to run the program:
|
|
|
|
|
|
1. download the project zip file
|
|
|
2. open project folder in your terminal
|
|
|
3. run 'make' command - that should compile the project
|
|
|
4. run './bp3' with flags (explained below)
|
|
|
5. follow instruction prompts
|
|
|
6. get your output
|
|
|
|
|
|
Flags:
|
|
|
|
|
|
You have to select at least one flag for the program to execute, but multiple flags are acceptable.
|
|
|
Multiple flags will just execute several tasks during one run.
|
|
|
|
|
|
flag | Description
|
|
|
|
|
|
--task1 | Given a specific date, it provides the
|
|
|
number of opened and closed tasks.
|
|
|
|
|
|
--task2 | Given a specific start and end date, it
|
|
|
provides the number of tasks that were opened and closed.
|
|
|
|
|
|
--task3 | Given a particular instance, it provides
|
|
|
the name of most recent task
|
|
|
|
|
|
--task4 | Given a particular instance, it provides
|
|
|
the count of tasks
|
|
|
|
|
|
--task5 | Given a particular assignee, it provides
|
|
|
the count of open and closed taks for that assignee.
|
|
|
|
|
|
-h | Shows a help message.
|
|
|
|