1
0

Add reconcile command helper

This commit is contained in:
Tony Grosinger 2022-07-26 21:53:57 -07:00
parent ada3fce905
commit 8ce8b3857c
2 changed files with 11 additions and 2 deletions

3
.env
View File

@ -1,5 +1,6 @@
# The parent folder containing configuration data for the various apps.
CONFIG_DIR=config
# This must be an absolute path.
CONFIG_DIR=/home/my-username/metaledger/config
# The parent folder containing your ledger files.
# This must be an absolute path.

10
bin/reconcile Normal file → Executable file
View File

@ -1,3 +1,11 @@
#!/bin/bash
echo TODO
if [ ${#} -ne 1 ]; then
echo "Must provide an account name to reconcile."
echo "Usage: ${0} account_name"
exit 1
fi
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
${SCRIPTPATH}/ledgerbil --reconcile ${1}