Commit Graph

63 Commits

Author SHA1 Message Date
Simon Michael
34ec7406a1 move add-ons and scripts to bin/ 2017-01-08 07:28:23 -08:00
Simon Michael
e7f6bfa273 move extra/ data files to examples 2017-01-08 07:26:14 -08:00
Simon Michael
27e2b0a615 rewrite: note some todos 2017-01-05 16:06:30 -08:00
Nikolay Orlyuk
419f5f2a2a Fix hledger-equity (#456)
* extra: hledger-equity: adapt to new BalanceReport

Make it compatible with change from 974b1e3be

* extra: hledger-equity: valid multi-commodity posts
2016-12-31 07:31:01 -08:00
Simon Michael
97e7fd67f4 extra: simplify, fix mint CSV rules 2016-10-23 14:34:37 -07:00
Simon Michael
99b13544df extra: add a bunch of CSV rules examples 2016-10-23 14:06:43 -07:00
Simon Michael
17d96d351b extra: hledger-rewrite: doc tweak
[ci skip]
2016-09-07 07:49:08 -07:00
Simon Michael
6439744fa2 extra: give hledger-rewrite.hs a stack script header
and some guidance for compiling or interpreting it.
This may be helpful for getting started, although the suggested
commands still require that you're in the hledger source tree.
2016-09-07 07:39:10 -07:00
Andrew Jones
96fc6ced6a extra: fix up hledger-rewrite to work with Megaparsec 2016-09-06 21:02:41 +01:00
Simon Michael
6476944330 tools: update, rename cabal installation script 2016-06-29 15:01:24 -07:00
Simon Michael
e7c457f970 extra: update, stackify hledger-check-dates 2016-05-19 16:29:39 -07:00
Simon Michael
7f5e09096f lib: rename JournalContext to JournalParseState 2016-05-18 20:57:34 -07:00
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