Skip to content

Instantly share code, notes, and snippets.

@simonmichael
Created September 13, 2017 01:29
Show Gist options
  • Save simonmichael/65acc7dffb060a6d21636d83f5a7013e to your computer and use it in GitHub Desktop.
Save simonmichael/65acc7dffb060a6d21636d83f5a7013e to your computer and use it in GitHub Desktop.
hledger commands list 2017/9/12
$ hledger
Commands available (41):
Standard reports:
accounts show chart of accounts
balancesheet (bs) show a balance sheet
balancesheetequity (bse) show a balance sheet with equity
cashflow (cf) show a cashflow statement
incomestatement (is) show an income statement
General reporting:
activity show a bar chart of posting counts per interval
balance (bal) show accounts and balances
budget add automated postings/txns/bucket accts (experimental)
chart generate simple balance pie charts (experimental)
check check more powerful balance assertions
check-dates check transactions are ordered by date
check-dupes check for accounts with the same leaf name
irr calculate internal rate of return of an investment
prices show market price records
print show transaction journal entries
print-unique show only transactions with unique descriptions
register (reg) show postings and running total
register-match show best matching transaction for a description
stats show some journal statistics
Interfaces:
add console ui for adding transactions
api web api server
iadd curses ui for adding transactions
ui curses ui
web web ui
Misc:
autosync download/deduplicate/convert OFX data
equity generate transactions to zero & restore account balances
interest generate interest transactions
rewrite add automated postings to certain transactions
test run some self tests
check.hs
check.py
diff
estimatedtax
find
import
install.sh
swap-dates
tags
Help:
help show any of the hledger manuals in various formats
hledger CMD -h show command usage
hledger -h show general usage
@simonmichael
Copy link
Author

Mockup:

-------------------------------------------------------------------------------
hledger 1.3.99, commands available:

 balancesheet (bs)     show a simple balance sheet with net worth
 balancesheetequity (bse)  show a detailed balance sheet with equity
 cashflow (cf)         show a cashflow statement
 incomestatement (is)  show an income statement

 accounts (a)          show account names
 balances (b)          show accounts and balance changes or ending balances
 postings (r, register)  show postings register with running total or average
 prices                show market prices
 tags                  show tag names
 transactions (p, print)  show transactions/journal entries

 activity              show a bar chart of posting counts per interval
 check                 check more powerful balance assertions
 check-dates           check transactions are ordered by date
 check-dupes           check for accounts with the same leaf name
 stats                 show some journal statistics
 test                  run some self tests

 add                   console ui for adding transactions
 iadd                  curses ui for adding transactions
 autosync              download/deduplicate/convert OFX data
 equity                generate balance-resetting transactions
 interest              generate interest transactions
 rewrite               add automated postings to certain transactions

 api                   web api server
 ui                    curses ui
 web                   web ui

Experimental/other:
 budget                add automated postings/txns/bucket accts
 chart                 generate simple balance pie charts
 irr                   calculate internal rate of return of an investment
 print-unique          show only transactions with unique descriptions
 register-match        show best matching transaction for a description

 check.hs
 check.py
 diff
 estimatedtax
 find
 import
 install.sh
 print-uniqueold
 swap-dates

Help:
 help                  show any of the hledger manuals in various formats
 hledger CMD -h        show command usage
 hledger -h            show general usage
-------------------------------------------------------------------------------

@simonmichael
Copy link
Author

-------------------------------------------------------------------------------
hledger 1.3.99, commands available:

Statements:
 balancesheet (bs)     show a simple balance sheet with net worth
 balancesheetequity (bse)  show a detailed balance sheet with equity
 cashflow (cf)         show a cashflow statement
 incomestatement (is)  show an income statement

Entities:
 accounts (a)          show account names
 balances (b)          show accounts and balance changes or ending balances
 postings (r, register)  show postings register with running total or average
 prices                show market prices
 tags                  show tag names
 transactions (p, print)  show transactions/journal entries

Validation:
 activity              show a bar chart of posting counts per interval
 check                 check more powerful balance assertions
 check-dates           check transactions are ordered by date
 check-dupes           check for accounts with the same leaf name
 stats                 show some journal statistics
 test                  run some self tests

Data management:
 add                   console ui for adding transactions
 iadd                  curses ui for adding transactions
 autosync              download/deduplicate/convert OFX data
 equity                generate balance-resetting transactions
 interest              generate interest transactions
 rewrite               generate automated postings on matched transactions

UIs:
 api                   web api server
 ui                    curses ui
 web                   web ui

Experimental/other:
 budget                add automated postings/txns/bucket accts
 chart                 generate simple balance pie charts
 irr                   calculate internal rate of return of an investment
 print-unique          show only transactions with unique descriptions
 register-match        show best matching transaction for a description

 check.hs
 check.py
 diff
 estimatedtax
 find
 import
 install.sh
 print-uniqueold
 swap-dates

Help:
 help                  show any of the hledger manuals in various formats
 hledger CMD -h        show command usage
 hledger -h            show general usage
-------------------------------------------------------------------------------

@simonmichael
Copy link
Author

Latest:

-------------------------------------------------------------------------------
hledger 1.3.99, commands available:

Statements:
 balancesheet (bs)        show a simple balance sheet with net worth
 balancesheetequity (bse) show a detailed balance sheet with equity
 cashflow (cf)            show a cashflow statement
 incomestatement (is)     show an income statement

Basic reports:
 accounts (a)             show account names
 activity                 show a bar chart of posting counts per interval
 balance (b, bal)         show accounts and balance changes or ending balances
 register (r, reg)        show postings to one or more accounts
 prices                   show market price records
 print (p, txns)          show transactions/journal entries
 tags                     show tag names

Validation:
 check                    check more powerful balance assertions
 check-dates              check transactions are ordered by date
 check-dupes              check for accounts with the same leaf name
 stats                    show journal statistics
 test                     run self tests

Data management:
 add                      add transactions using console ui
 iadd                     add transactions using curses ui
 autosync                 download/deduplicate/convert OFX data
 equity                   generate balance-resetting transactions
 interest                 generate interest transactions
 rewrite                  generate automated postings on matched transactions

UIs:
 api                      start web api server
 ui                       start curses ui
 web                      start web ui

Other/experimental:
 budget                   add automated postings/txns/bucket accts
 chart                    generate simple balance pie charts
 irr                      calculate internal rate of return of an investment
 print-unique             show only transactions with unique descriptions
 register-match           show best matching transaction for a description

 check.hs
 check.py
 diff
 estimatedtax
 find
 import
 install.sh
 print-uniqueold
 swap-dates

Help:
 help                     show any of the hledger manuals in various formats
 hledger CMD -h           show command usage
 hledger -h               show general usage
-------------------------------------------------------------------------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment