Add hledger and hledger-add utilities
This commit is contained in:
parent
c4c3153d90
commit
963aa81436
@ -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
2
bin/add
Normal file → Executable file
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo TODO
|
||||
docker exec -it metaledger-hledger-1 hledger add
|
||||
|
2
bin/hledger
Normal file → Executable file
2
bin/hledger
Normal file → Executable file
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo TODO
|
||||
docker exec -it metaledger-hledger-1 hledger ${@}
|
||||
|
Reference in New Issue
Block a user