Skip to content

kubajabko/mwo-report-system

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

___  ____    _  _____       ______ ___________ ___________ _____ ___________
|  \/  | |  | ||  _  |      | ___ \  ___| ___ \  _  | ___ \_   _|  ___| ___ \
| .  . | |  | || | | |______| |_/ / |__ | |_/ / | | | |_/ / | | | |__ | |_/ /
| |\/| | |/\| || | | |______|    /|  __||  __/| | | |    /  | | |  __||    /
| |  | \  /\  /\ \_/ /      | |\ \| |___| |   \ \_/ / |\ \  | | | |___| |\ \
\_|  |_/\/  \/  \___/       \_| \_\____/\_|    \___/\_| \_| \_/ \____/\_| \_|

-----------------------------------------------------------------------------
----------------------------Command Line Options-----------------------------
-----------------------------------------------------------------------------

This program can be used to generate reports based on excel files prepared
by employees. Input files must be done using certain template. User can
choose between 5 types of reports. By default report is generated in
console, but there is option to generate output excel file with charts.

-----------------------------------------------------------------------------

To use with .jar enter:
java -jar target/mwo-report-system-1.0-SNAPSHOT.jar
before following commands

-----------------------------------------------------------------------------

-source <place path of source files here>

This can be either catalog with several excel files or with just one

Example: -source resources
Example: -source C:\Hours\Team_1

-----------------------------------------------------------------------------

-rtype <choose between 1,2,3,4,5>

1 - Displays list of employees with their total hours
2 - Displays list of projects with their total hours
3 - Displays list of employees with total hours spent on certain project
4 - Displays top 10 tasks regarding hours spent within all projects
5 - Search specific phrase regarding tasks,
    displays list of tasks with total hours

Example: -source resources -rtype 1
Example: -source resources -rtype 3

-----------------------------------------------------------------------------

-datefilter <yyyy/mm/dd-yyyy/mm/dd>

This filters data in specified range of time

-datefilter <yyyy/mm/dd->

This filters data from specified date till now

-datefilter <-yyyy/mm/dd>

This filters data from beginning to specified date

Example: -source resources -rtype 1 -datefilter 2012/01/01-2012/05/03
Example: -source resources -rtype 1 -datefilter 2011/01/01-
Example: -source resources -rtype 1 -datefilter -2012/01/25

-----------------------------------------------------------------------------

-export <path\filename.xls>

This option generates Excel file with selected report, to provided path
with provided file name. If path is specified it must already exist.

Example: -source resources -rtype 1 -export raport_2012.xls
Example: -source resources -rtype 1 -export moje_raporty\raport_2012

-----------------------------------------------------------------------------

-employeefilter <surname_name>

This filters files regarding specified employee

Example: -source resources -rtype 1 -employeefilter kowalski_jan
Example: -source resources -rtype 1 -employeefilter kowalski_
Example: -source resources -rtype 1 -employeefilter _jan

-----------------------------------------------------------------------------

-taskfilter <task>

This filters data regarding provided phrase, only works with type 5 report

Example: -source resources -rtype 5 -taskfilter spotkanie

-----------------------------------------------------------------------------
-----------------------------------------------------------------------------

-h

This will print quick help

Example: -h

-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%