{-# 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 " create -j [parameters_string] -- create project of specified type with specified name; optionally add JSON parameters" putStrLn " create -s [parameters_string] -- create project of specified type with specified name; optionally add string parameters" putStrLn " create [parameters_string] -- create project of specified type with specified name; optionally add string parameters" putStrLn " new -j [parameters_string] -- create file from the template with specified JSON parameters, wrap it with \"\" or ''" putStrLn " new -s [parameters_string] -- create file from the template with specified string parameters, wrap it with \"\" or ''" putStrLn " new [parameters_string] -- create file from the template with specified string parameters, wrap it with \"\" or ''" putStrLn " list -- print all available templates" putStrLn " help