Brett Smith
|
b038ec827c
|
cliutil: Add year_or_date_arg() function.
|
2020-06-25 08:43:28 -04:00 |
|
Brett Smith
|
7660700e6c
|
cliutil: Add date_arg() function.
Meant to be used as an argument type.
|
2020-06-15 18:11:39 -04:00 |
|
Brett Smith
|
cd578289c4
|
cliutil: Add make_entry_point() function.
This provides better logging setup, reduces the amount of boilerplate in
main, and replaces is_main_script().
|
2020-06-12 15:08:08 -04:00 |
|
Brett Smith
|
2b5cb0eca6
|
cliutil: Add bytes_output() and text_output() functions.
|
2020-06-09 09:04:27 -04:00 |
|
Brett Smith
|
32b62df540
|
cliutil: Better implementation of is_main_script.
The old one could return True if you called accrual.main()
directly from one-off test scripts.
|
2020-05-29 23:39:27 -04:00 |
|
Brett Smith
|
3fbd05d553
|
cliutil: Add is_main_script function.
|
2020-05-29 22:05:26 -04:00 |
|
Brett Smith
|
2b550a2037
|
cliutil: Start module.
We're probably going to have a small handful of reporting tools.
This module has all the stuff I end up putting in all of them.
|
2020-05-29 22:05:26 -04:00 |
|