Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/danp/ledger-scripts

Scripts I use with ledger
https://github.com/danp/ledger-scripts

Last synced: 26 days ago
JSON representation

Scripts I use with ledger

Awesome Lists containing this project

README

        

# ledger-scripts

These are simple scripts I use with [ledger](http://www.ledger-cli.org/).

I keep my ledger data directory in a git repo and my primary ledger data in a file called `finances.ledger` within that directory.

I have the `$LEDGER_FILE` environment variable set to the full path of `finances.ledger`. These scripts rely on that.

## ledger-tidy

`ledger-tidy` uses `ledger print` to sort `$LEDGER_FILE` by posting date and pretty it up.

## ledger-sync

`ledger-sync` runs `ledger-tidy`, commits changes in the working directory, and pushes.

## ledger-entry

`ledger-entry` is a wrapper for `ledger entry`, confirming the output looks good before appending to `$LEDGER_FILE`.