simplify imports in other extra scripts

This commit is contained in:
Simon Michael 2014-02-07 14:05:13 -08:00
parent d158d401d9
commit 53b534e647
5 changed files with 2 additions and 8 deletions

View File

@ -1,8 +1,7 @@
#!/usr/bin/env runhaskell
-- Show all account names used in the default journal.
import Hledger
import Hledger.Cli (getCliOpts, mainmode, withJournalDo)
import Hledger.Cli
main = do
-- simple way to read ~/.hledger.journal or $LEDGER_FILE

View File

@ -5,9 +5,7 @@ hledger-balance-csv [OPTIONS] [ARGS]
Show a balance report as CSV.
-}
import Hledger
import Hledger.Cli
import System.Console.CmdArgs.Explicit
import Text.CSV

View File

@ -12,7 +12,7 @@ on either file, and when including both files at once.
Usage: hledger-equity [ACCTPAT]
-}
import Hledger
import Hledger.Cli
import System.Environment

View File

@ -9,7 +9,6 @@ something else). Reads the default or specified journal, or stdin.
import Data.List
import Data.Ord
import Hledger
import Hledger.Cli
main = do

View File

@ -8,9 +8,7 @@ Show a register report as CSV.
module Main
where
import Hledger
import Hledger.Cli
import System.Console.CmdArgs.Explicit
import Text.CSV