{-# LANGUAGE OverloadedStrings #-} module Main where import Trurl import SimpleParams import System.Environment help :: IO () help = do putStrLn "trurl [parameters]" putStrLn " update -- fetch the updates from repository" putStrLn " new project [parameters] -- create project of specified type with specified name; optionally add parameters" putStrLn " new project -j [parameters_string] -- create project of specified type with specified name; optionally add JSON parameters, wrap it with \"\" or ''" putStrLn " new file [parameters] -- create file from the template with specified string parameters" putStrLn " new file -j [parameters_string] -- create file from the template with specified JSON parameters, wrap it with \"\" or ''" putStrLn " list -- print all available templates" putStrLn " help