mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 19:41:47 +03:00
addons: note more issues
This commit is contained in:
parent
9ce2d6a75a
commit
4b47c1340f
1
Makefile
1
Makefile
@ -569,6 +569,7 @@ test-addons:
|
||||
cp $(TESTADDONS)/hledger-addon.hs $(TESTADDONS)/hledger-addon2.hs
|
||||
cp $(TESTADDONS)/hledger-addon.hs $(TESTADDONS)/hledger-addon3.exe
|
||||
cp $(TESTADDONS)/hledger-addon.hs $(TESTADDONS)/hledger-addon3.lhs
|
||||
cp $(TESTADDONS)/hledger-addon.hs $(TESTADDONS)/hledger-add
|
||||
chmod +x $(TESTADDONS)/hledger-*
|
||||
|
||||
######################################################################
|
||||
|
@ -199,6 +199,14 @@ main = do
|
||||
dbgM "raw args after command" argsaftercmd
|
||||
|
||||
-- search PATH for add-ons
|
||||
-- XXX
|
||||
-- disallow addons matching builtin commands ?
|
||||
-- $ hledger print
|
||||
-- hledger: Ambiguous mode 'print', could be any of: print print
|
||||
-- allow invocation with extension even when it's hidden ?
|
||||
-- $ hledger print.hs
|
||||
-- hledger: command print.hs is not recognized, run with no command to see a list
|
||||
|
||||
addons <- getHledgerAddonCommands
|
||||
|
||||
-- parse arguments with cmdargs
|
||||
|
Loading…
Reference in New Issue
Block a user