keter/keter.hs

14 lines
339 B
Haskell
Raw Normal View History

{-# LANGUAGE NoImplicitPrelude #-}
import Prelude (error, (++), ($), IO)
2012-05-11 12:29:25 +04:00
import System.Environment (getArgs, getProgName)
import Keter.Main (keter)
2012-05-06 08:21:19 +04:00
2012-05-06 08:07:02 +04:00
main :: IO ()
2012-05-11 12:29:25 +04:00
main = do
args <- getArgs
case args of
[dir] -> keter dir
_ -> do
pn <- getProgName
error $ "Usage: " ++ pn ++ " <root folder>"