Simon Michael
13f8c0f938
overhaul command line processing
...
Command line processing has been overhauled and made more consistent,
and now has tests and extensive debug output. More flags now work
both before and after COMMAND: -f, --rule-file, --alias, --help,
--debug, --version. Command line help, command aliases, API docs and
code have been improved.
2013-09-22 01:17:41 -07:00
Simon Michael
d30cd5847a
a simplistic cashflow statement to complete the trio
2012-04-17 17:32:56 +00:00
Simon Michael
483eb09a82
show proper help for balancesheet/incomestatement
2012-04-14 20:33:48 +00:00
Simon Michael
3ee6a351f3
big query/tests/show refactoring
...
- use new query system for command line too, filterspec is no more
- move unit tests near the code they test, run them in bottom up order, add more
- more precise Show instances, used for debugging not ui
2012-05-27 18:14:20 +00:00
Simon Michael
1654776f4a
refactor test runner
2012-05-14 19:23:12 +00:00
Simon Michael
ca5d5020e1
prototypical incomestatement and balancesheet commands
2012-04-14 01:34:56 +00:00
Simon Michael
b96e3ac85d
drop convert command
2012-03-24 19:40:06 +00:00
Simon Michael
6eb7ad28e1
refactor/beef up readJournal/readJournalFile
2012-03-23 16:21:41 +00:00
Simon Michael
c686645fab
refactor: update version number handling
2012-01-31 06:01:31 +00:00
Simon Michael
9a6328adeb
comment
2011-09-14 19:46:31 +00:00
Simon Michael
33f6277e0d
cli: hledger ADDONCOMMAND --version now shows add-on command's version
2011-09-14 02:32:44 +00:00
Simon Michael
fcb4a39089
when running addons with --debug, show the command line
2011-09-17 04:19:26 +00:00
Simon Michael
de502e732b
drop unused TIMELOG env var
2011-09-21 23:12:53 +00:00
Simon Michael
c9f1f5c663
strip the -- when calling addon commands, so their options work ( #64 )
2011-09-23 14:10:27 +00:00
Simon Michael
9b2a5f56e1
only the add and web commands auto-create the journal file
2011-09-23 03:53:14 +00:00
Simon Michael
8a50cb1289
don't pass an addon command's name to it as an extra argument
2011-09-11 21:48:13 +00:00
Simon Michael
17fbc9de14
another part of add-on command detection that was missed
2011-08-25 23:13:08 +00:00
Simon Michael
dc43ca2d00
easier to roll back this one than merge
2011-08-22 14:52:47 +00:00
Simon Michael
b39c0f8819
would like to react to --version before --help, cmdargs does it first though
2011-08-20 19:18:10 +00:00
Simon Michael
464d8d4bcb
hledger now detects and runs hledger-* add-ons found in path; many options cleanups
2011-08-22 14:55:39 +00:00
Simon Michael
1f5f1b5e78
convert: don't fail when there's no default journal file
2011-08-20 19:49:07 +00:00
Simon Michael
059825a9b2
optionsgeddon.. port to cmdargs and a fully modal cli
2011-08-15 22:50:09 +00:00
Simon Michael
513846e8c2
refactor: explicit sibling imports is better style here
2011-08-07 20:22:35 +00:00
Simon Michael
5c8e533ba9
import cleanups
2011-06-06 19:04:21 +00:00
Trygve Laugstol
28dbb8864f
Adding basic ledger FORMAT parser.
2011-06-20 21:33:26 +00:00
Simon Michael
5084280879
imports, api cleanup
2011-05-28 04:11:44 +00:00
Simon Michael
24c578bcd4
fix for "reorganize tests"
2010-12-29 01:35:41 +00:00
Simon Michael
6a845eb5e4
i18n: always read and write UTF-8, ignoring current locale ( #34 )
...
Also remove a bunch of CPP conditions.
Uses the GHC-version-independent UTF-8 layer from pandoc.
2011-01-21 01:24:51 +00:00
Simon Michael
961a6f09eb
docs: update copyright dates
2011-04-18 17:36:28 +00:00
Simon Michael
cc656b72c7
remove unnecessary pragmas
2011-04-19 00:43:49 +00:00
Simon Michael
27ad4d7efe
briefer, more informative usage error messages
2010-11-29 01:08:19 +00:00
Simon Michael
93b1f2b0ca
more correct args parsing, fix account filtering in hledger-web
2010-11-29 00:37:21 +00:00
Simon Michael
c6a85c4b88
packagegeddon: make usage and version messages specific to each add-on program
...
All this stuff has been split up, except for the moment it's still
necessary to define all option constructors in Hledger.Cli.Options.
2010-11-26 19:14:09 +00:00
Simon Michael
1127c3f52f
flatten modules a little
2010-11-15 06:48:49 +00:00
Simon Michael
9cb716d002
packagegeddon.. split off web/chart/vty, move hledger to a subdir
2010-09-09 22:54:34 +00:00