X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fhomebank2ledger;a=blobdiff_plain;f=bin%2Fhomebank2ledger;h=1139928ea98c30dd8b8bdc86ef4f5a94e3903f09;hp=9ca57d00b6699a2f191d4471175ae96e89afd333;hb=1290bb7c0ee4c8fa6f962712b43207a0323b18a1;hpb=bf5210aa9262145b39b3a11ece7f323c4f85d4f4 diff --git a/bin/homebank2ledger b/bin/homebank2ledger index 9ca57d0..1139928 100644 --- a/bin/homebank2ledger +++ b/bin/homebank2ledger @@ -4,12 +4,11 @@ =head1 SYNOPSIS - homebank2ledger --input FILEPATH [--output FILEPATH] - [--version|--help|--manual] - [--format FORMAT] [--account-width NUM] + homebank2ledger --input FILEPATH [--output FILEPATH] [--format FORMAT] + [--version|--help|--manual] [--account-width NUM] [--accounts|--no-accounts] [--payees|--no-payees] [--tags|--no-tags] [--commodities|--no-commodities] - [--opening-date DATE] [--default-account STR] + [--opening-date DATE] [--rename-account STR]... [--exclude-account STR]... =head1 DESCRIPTION @@ -118,6 +117,15 @@ Enables commodity declarations. Defaults to enabled; use C<--no-commodities> to disable. +=head2 --budget + +Enables budget transactions. + +Budget transactions are only supported by the Ledger format (for now). This option is silently +ignored otherwise. + +Defaults to enabled; use C<--no-budget> to disable. + =head2 --opening-date DATE Specify the opening date for the "opening balances" transaction. This transaction is created (if @@ -125,12 +133,6 @@ needed) to support HomeBank's ability to configure accounts with opening balance Date must be in the form "YYYY-MM-DD". Defaults to the date of the first transaction. -=head2 --default-account STR - -Specify the account to use for one-sided transactions (if any). Defaults to "Expenses:No Category". - -A default account may be necessary because with Ledger all transactions are double-entry. - =head2 --rename-account STR Specifies a mapping for renaming accounts in the output. By default C tries to come @@ -206,7 +208,7 @@ it's just plain text. =for :list * I didn't intend to make this a releasable robust product, so it's lacking tests. -* Budgets and scheduled transactions are not (yet) converted. +* Scheduled transactions are not (yet) converted. * There are some minor formatting tweaks I will make (e.g. consolidate transaction tags and payees) =cut