Commit Graph

51 Commits

Author SHA1 Message Date
Simon Michael
a13910f70f fix compilation 2016-03-02 17:05:56 -08:00
Simon Michael
74512814ec cli/ui/web: rename X.Options modules to X.XOptions
Make these modules' names more like the heavily-used types they
define (CliOpts, UIOpts, WebOpts). This is consistent with
RawOptions and ReportOptions, and helps with code navigation.
2015-08-28 12:43:51 -07:00
Simon Michael
207ae772d4 ui: revive the curses UI, now named hledger-ui 2015-08-13 11:22:40 -07:00
Simon Michael
9536db384d bump stack resolver to lts-3.0 2015-08-13 08:16:54 -07:00
Simon Michael
1d957720e3 vty: make hledger-vty buildable again
Just for fun and curiousity, hledger-vty once again builds, with hledger
HEAD and GHC 7.10, and has a stack config. To see it once again in all
its glory:

$ cd extra/hledger-vty
$ stack install
$ hledger vty [-- ARGS]

[ci skip]
2015-08-11 19:16:58 -07:00
Simon Michael
5d1ea71568 extra: fix hledger-equity, hledger-rewrite compilation 2015-05-25 08:39:50 -07:00
Simon Michael
f75849cdd6 fix ghc 7.10 Applicative import warnings (#239)
Still needed CPP, despite using base-compat.
2015-03-29 16:09:41 -07:00
Julien Moutinho
af56ced3b0 lib: add eof parsing checks 2015-01-11 09:45:55 -08:00
Julien Moutinho
cf28985cf2 lib: move from Text.ParserCombinators.Parsec to Text.Parsec
NOTE: required to use liftIO in includedirective
SEE: http://www.vex.net/~trebla/haskell/parsec-generally.xhtml#IO
2014-11-20 10:08:30 +01:00
Julien Moutinho
21a200cccc extra: add hledger-check-dates 2014-11-17 11:16:36 +01:00
Julien Moutinho
4c5c15d275 extra: sync hledger-rewrite with numberp 2014-11-17 11:16:36 +01:00
Simon Michael
827aaad08e hledger-balance-csv, hledger-print-csv: remove 2014-10-21 12:55:35 -07:00
Simon Michael
d234663b6d register: add -o/--output option, merge CSV functionality (cf #206) 2014-10-20 13:04:36 -07:00
Simon Michael
7a13934968 hledger-register-csv: print multiple commodities on one line (#206)
When posting amounts or the running total contain more than one
commodity, register-csv now prints them comma-separated on one line,
instead of on multiple lines breaking the CSV output.

This is may not be ideal for CSV consumers; alternatives include
failing with an error, adding columns for additional commodities,
ignoring all but one commodity.
2014-10-17 17:06:47 -07:00
Simon Michael
e6bd0a3bde extra/hledger-register-csv: accept -H/-A/-r (#206)
hledger-register-csv.hs now accepts the same -H, -A and -r flags that
register does (but not -w, which wouldn't make sense).

Note: remember, when running add-ons with the hledger executable, most
add-on command flags must be preceded by --. So it's:

$ hledger register-csv -- -H
2014-10-17 16:47:26 -07:00
Simon Michael
69f53f768f extra/hledger-register-csv: clarify last field heading 2014-10-17 16:46:58 -07:00
Simon Michael
1e54797d49 extra/hledger-register-csv: fix breakage from aa85e786 2014-10-17 16:31:58 -07:00
gwern
d1618aaca8 strip trailing whitespace from all Haskell files 2014-10-14 18:48:24 -07:00
Julien Moutinho
0b8b246fcd extra/hledger-equity: print closing balance too. 2014-07-24 02:17:09 +02:00
Julien Moutinho
c7a2126896 extra/hledger-print-csv: CSV export for hledger 2014-07-24 02:16:31 +02:00
Simon Michael
5aaef598ba hledger-equity: show correct end date in title 2014-07-15 07:02:14 -07:00
Simon Michael
e6a1339370 cli: options help polish 2014-05-01 07:22:44 -07:00
Simon Michael
f9bb7bd7b9 chart: fixes for latest hledger api, incomplete 2014-04-30 08:46:40 -07:00
Simon Michael
76d337df13 chart: bump dependencies and version 2014-04-30 08:38:54 -07:00
Simon Michael
aadd0723f6 chart, vty: these are unmaintained, but undo an old dep mistake 2014-04-29 19:03:37 -07:00
Simon Michael
bb02370c8d clarify status of hledger-chart & hledger-vty 2014-04-29 09:57:50 -07:00
Simon Michael
06a8ec07c5 extra: make hledger-equity support -f etc. (Julien Moutinho) 2014-04-14 12:04:21 -07:00
Simon Michael
52957f48eb fix extra/hledger-equity compilation 2014-04-13 08:57:55 -07:00
Simon Michael
f9c1d94b5f accounts: make accounts a built-in command, listing posted account names 2014-04-07 08:27:50 -07:00
Simon Michael
6b5ed3d790 print: drop unnecessary showTransactions
refactor the tests later
2014-04-05 19:39:18 -07:00
Simon Michael
ce888a62d5 restore some options utilities, fix hledger-balance-csv script 2014-03-28 16:33:48 -07:00
Simon Michael
add9fee6db extra: accountnames -> accounts 2014-03-05 10:16:45 -08:00
Simon Michael
53b534e647 simplify imports in other extra scripts 2014-02-07 14:05:13 -08:00
Simon Michael
21f359f56a extra: hledger-rewrite now takes arguments and is usable 2014-02-05 18:59:27 -08:00
Simon Michael
f494e9fa29 extra: unnecessary import 2014-02-05 15:52:45 -08:00
Simon Michael
9ae7831f2d extra: hledger-rewrite improvements 2014-02-05 13:56:49 -08:00
Simon Michael
dc8b687056 extra: hledger-rewrite script 2014-02-05 13:03:06 -08:00
Simon Michael
415cd19a7e update example scripts for api, clarify -f support 2013-12-13 19:10:54 -08:00
Simon Michael
1324fe3a41 new hledger-balance-csv and hledger-register-csv examples in extra, generating CSV output 2013-09-22 22:32:28 -07:00
Simon Michael
a66a715eeb command line options API updates, possibly fixing hledger-web build 2013-09-22 22:31:06 -07:00
Simon Michael
d1de9ba927 update example scripts in extra and rename them so they work as add-ons 2013-09-20 11:01:07 -07:00
Simon Michael
61ff8b852a make scripts in extra/ executable 2013-09-20 11:01:07 -07:00
Simon Michael
cdc7495459 docs: add paypal example to entry templates 2013-05-28 16:15:47 -07:00
Simon Michael
fc39b4c25d the version bump was premature, revert so I can push
This reverts commit 1bc8b73159.
2013-04-19 11:54:26 -07:00
Simon Michael
1bc8b73159 bump version 2013-04-17 17:20:59 -07:00
Simon Michael
57de7c8cd2 entry templates updates 2013-03-25 18:31:20 +00:00
Simon Michael
e630951f28 experimental templates for client billing entries 2013-03-22 18:12:16 +00:00
Simon Michael
26ad00a659 support and require latest cmdargs 2012-01-05 18:25:15 +00:00
Simon Michael
3e3af47b96 bump cmdargs upper bound in other places 2012-01-03 11:00:35 +00:00
Simon Michael
56094c1b16 examples/ -> extra/ 2012-01-30 17:16:39 +00:00