WEEE-Open / sardina

Our developers' section stats, computed hic et nunc
3 stars 0 forks source link

Implement command line options #16

Closed alecello closed 3 years ago

alecello commented 3 years ago

Default behavior of the program has been left unmodified, however if the user specifies one of the available command line options the relative prompt is skipped, allowing the program to run in non-interactive mode.

Command line options

Command line option Description
--cloc / --wc Selects which software to use to count SLOC.
--commits / --no-commits Wether to count commits or not.
--sloc / --no-sloc Wether to count SLOC or not.
--graphs / --no-graphs Wether to generate graphs or not.

Additionally, the -h or --help options display the help page automatically generated by argparse.

Furthermore, a -p or --ping switch can be specified to just poll GitHub and retrieve the repository list and commit statistics to have the server recompute them with new and updated data.

alecello commented 3 years ago

Merging should close #11