module Main where import WWWStaticus import WWWStaticusPlugins import System.Environment -- |The main IO action just feeds the 3 command line parameters to -- WWWStaticus.runStaticus: input path, output path, html root main :: IO () main = do args<-getArgs prog<-getProgName if length args /= 3 then putStrLn $ "usage: " ++ prog ++ " [in_path] [out_path] [root]" else runStaticus (args!!0) (args!!1) (args!!2) staticusPluginsDefault