2023-11-09 22:44:20 +01:00
|
|
|
module Main where
|
|
|
|
|
2023-11-10 16:38:49 +01:00
|
|
|
import DND.Sheet.Parser
|
2023-11-09 22:44:20 +01:00
|
|
|
|
|
|
|
testfile :: FilePath
|
|
|
|
testfile = "./example.json"
|
|
|
|
|
|
|
|
main :: IO ()
|
2023-11-10 16:38:49 +01:00
|
|
|
main = do
|
|
|
|
createExample testfile
|
|
|
|
sheet <- parseSheet testfile
|
|
|
|
putStrLn $ "wrote example character named \"" ++ getName sheet ++ "\" to: " ++ testfile
|
2023-11-13 23:49:04 +01:00
|
|
|
listSkillNames sheet
|