mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-25 03:13:25 +03:00
10 lines
344 B
Plaintext
10 lines
344 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
# Watch hledger account names, updating on file change under the current directory.
|
||
|
# Arguments are passed to hledger. Useful when cleaning up accounts.
|
||
|
# Requires watchexec.
|
||
|
# Examples:
|
||
|
# watchaccounts expenses -2
|
||
|
# watchaccounts -f time.journal client1 date:thismonth -l
|
||
|
|
||
|
watchexec -c -- "echo ==; hledger accounts -t" $@
|