Make it possible to debug Finance Toolkit using short option -X or long option --debug to show debug logs. This is inspired from Maven's debug options -X,--debug.
See help command for more details:
./bin/docker-finance.sh --help
Finance Tools
Usage:
finance-toolkit [options] (cat|categories) [<prefix>]
finance-toolkit [options] merge
finance-toolkit [options] move
Arguments:
cat|categories Print all categories, or categories starting with the given prefix.
merge Merge staging data.
move Import data from $HOME/Downloads directory.
Options:
--finance-root FOLDER Folder where the configuration file is stored (default: $HOME/finances).
-X --debug Enable debugging logs. Default: false.
Description
Make it possible to debug Finance Toolkit using short option
-X
or long option--debug
to show debug logs. This is inspired from Maven's debug options -X,--debug.See help command for more details:
References
https://realpython.com/python-logging/