Add reconcile command helper
This commit is contained in:
parent
ada3fce905
commit
8ce8b3857c
3
.env
3
.env
@ -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
10
bin/reconcile
Normal file → Executable 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}
|
||||
|
Reference in New Issue
Block a user