From 06f5075b6b11e2f5851c30898b6eacd4dfa502e2 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 12 Jul 2024 14:21:33 +0100 Subject: [PATCH] ;doc: bin/README, Scripts page: justfile -> Justfile --- bin/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/README.md b/bin/README.md index de2e079cd..2df06ee9e 100644 --- a/bin/README.md +++ b/bin/README.md @@ -70,7 +70,7 @@ $ fin # list the scripts available [`ft`](https://github.com/simonmichael/hledger/blob/master/bin/ft) is a way to organise your finance-related reports and scripts using standard bash. -(See also [justfile](#justfile) below.) +(See also [Justfile](#justfile) below.) ```cli $ alias f=~/src/hledger/bin/ft @@ -138,22 +138,22 @@ OTHERCMD [ARGS] run other hledger commands on $TIMELOG Add hledger options to customise reports. ``` -### justfile +### Justfile is like [make](https://en.wikipedia.org/wiki/Make_(software)), but easier and more suitable for running commands. It is a nice tool for organising financial reports and scripts! More on [hledger and just](just.md). -Here is a [justfile](https://github.com/simonmichael/hledger/blob/master/bin/justfile) +Here is a [Justfile](https://github.com/simonmichael/hledger/blob/master/bin/Justfile) reimplementing the `ft` and `tt` scripts more simply: ```cli $ brew install just # eg $ alias j=just $ cd ~/finance -$ cp ~/src/hledger/bin/justfile . # or start from scratch: just --init +$ cp ~/src/hledger/bin/Justfile . # or start from scratch: just --init $ j -justfile commands: +Justfile commands: watch CMD # rerun the given command with watchexec whenever local files change get-csv # download auto-downloadable CSVs (paypal) import-dry # import new downloaded transactions to the main journal, dry run