1
0

Add hledger and hledger-add utilities

This commit is contained in:
Tony Grosinger 2022-07-26 16:27:09 -07:00
parent c4c3153d90
commit 963aa81436
3 changed files with 6 additions and 2 deletions

View File

@ -15,3 +15,7 @@
- Start the services with `docker-compose up -d`
You can now access the web UI for hledger at your chosen URL (from the `.env` file), ledger-analytics, and use the helper scripts in the `bin` directory to use the various utilities. All utilities should be pre-configured with your ledger file location.
## Usage
If you add the `bin` directory to your path, the utility scripts in there will expose various ledger and hledger functionality by mapping into the respective containers. They will be automatically configured to interact with your ledger files as defined in the `.env` file.

2
bin/add Normal file → Executable file
View File

@ -1,3 +1,3 @@
#!/bin/bash
echo TODO
docker exec -it metaledger-hledger-1 hledger add

2
bin/hledger Normal file → Executable file
View File

@ -1,3 +1,3 @@
#!/bin/bash
echo TODO
docker exec -it metaledger-hledger-1 hledger ${@}