;bin: add hledger-pricehist (alias for pricehist)

This commit is contained in:
Simon Michael 2024-05-02 18:39:52 -10:00
parent fe1fc313ba
commit 9cdf435c0e
2 changed files with 11 additions and 0 deletions

View File

@ -29,6 +29,12 @@ hledger comes with many built-in commands, and you may want to get familiar with
These scripts don't use hledger directly, but are complementary and might be useful to hledger users. These scripts don't use hledger directly, but are complementary and might be useful to hledger users.
([plaintextaccounting.org](https://plaintextaccounting.org) has a longer list of PTA tools.) ([plaintextaccounting.org](https://plaintextaccounting.org) has a longer list of PTA tools.)
### hledger-pricehist
[`hledger-pricehist`](https://github.com/simonmichael/hledger/blob/master/bin/hledger-pricehist)
is just an alias for the market price downloader [pricehist](https://pypi.org/project/pricehist),
so that it shows up in the hledger commands list.
### paypaljson ### paypaljson
[`paypaljson`](https://github.com/simonmichael/hledger/blob/master/bin/paypaljson) [`paypaljson`](https://github.com/simonmichael/hledger/blob/master/bin/paypaljson)

5
bin/hledger-pricehist Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env sh
# A hledger-* alias for pricehist to show it in hledger's commands list.
# https://pypi.org/project/pricehist
pricehist "$@"