Crate gitlab_time_report_cli

Crate gitlab_time_report_cli 

Source
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 HashSet from 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.