- Added exit code of 1 (failed) to check-server-audits if bad audits are found.
- Fixed bug when repairing server audits, reading audit data as strings vs bytes.
- The
update-attachments
is changed toupload-attachments
in order to pair withdownload-attachments
.
- Added
download-attachments
subcommand in order to download attachments for a single instance. - Added
check-server-audits
andrepair-server-audits
to deal with the problem of malformed audit files.
- Fixed an error when running
pullcsv
with--keep
option that caused a crash.
- Display a progress bar when downloading CSV zip
- Added
--no-progress-bar/-P
option topullcsv
command in order not to display progress bar
- Centralpy streams CSV zip downloads to conserve memory rather than store everything in memory
- Config file keys must start with
CENTRALPY_
instead ofCENTRAL_
- Requires click >= 8.0.0
- Added installed command
check-audits
, also reachable frompython -m centralpy.check_audits
. - Added
update-attachments
subcommand - Added
--instance-id
option tocheck
subcommand - Added single letter option spellings for all options, e.g.
-f
for--form-id
.
--keep
option ofpullcsv
no longer has default of -1 to create less confusion. Does not change usage. Only observable change is in the help text.- The command
centralpy
by itself now shows the help message rather than nothing. - Better messaging on the
check
subcommand if no URL is given.
- Added the
--no-attachments
option topullcsv
- Added detail to the logs to say if attachments were downloaded or not
- Added the
check
subcommand - Add messaging on 404 responses to help find the cause (a common event due to typos)
- Add French translation to the README
- Implemented
pullcsv
andpush
subcommands - Added informational
version
andconfig
subcommands - By default, logs are saved in a file called "centralpy.log" in the current working directory.
- Improved documentation on the README
- Uploaded to PyPI, i.e. this is now pip-installable
- This is the initial release 🎉
- Command-line interface for scripting