mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +03:00
10 lines
344 B
Bash
Executable File
10 lines
344 B
Bash
Executable File
#!/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" $@
|