keter/keter.hs
2012-05-11 11:29:25 +03:00

12 lines
266 B
Haskell

import System.Environment (getArgs, getProgName)
import Keter.Main (keter)
main :: IO ()
main = do
args <- getArgs
case args of
[dir] -> keter dir
_ -> do
pn <- getProgName
error $ "Usage: " ++ pn ++ " <root folder>"