Expand description
This crate provides a Command Line Interface to fetch time logs from a GitLab project and generate statistics and charts from them.
ModulesΒ§
- arguments π
- Contains the CLI arguments for gitlab-time-report.
- print_
table π - Contains functions to print the generated tables from the library to the console.
FunctionsΒ§
- create_
charts π - Creates the graphs based on the time logs and the chart options.
- create_
label_ πoptions - Checks if a list of labels has been given.
If yes, create a
HashSetfrom the labels and return it, including an βOthersβ label for the rest of the labels which are not included in the set. - fetch_
project_ πdata - Fetches the time logs and related data for a GitLab repository.
- main π
- print_
project_ πnot_ found - Prints a message regarding access token. URL passed to this function should be without a
protocol prefix (
https://) - validate_
time_ πlogs - Runs validation on the entered time logs with all validators and outputs the result to the console.