aboutsummaryrefslogtreecommitdiff
path: root/exe/Main.hs
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-10-03 20:21:31 +0530
committerAkshay Nair <phenax5@gmail.com>2025-10-03 21:10:34 +0530
commitb1f56e140e6166c06a5b1f0a02aa4bc0953d6eb3 (patch)
tree0be94058cb050c1571e0d21f806433def5d3ad49 /exe/Main.hs
parent4d669ba5d5858e47b8d5723aae89b75481a2df2f (diff)
downloaddaffm-b1f56e140e6166c06a5b1f0a02aa4bc0953d6eb3.tar.gz
daffm-b1f56e140e6166c06a5b1f0a02aa4bc0953d6eb3.zip
Add delete command + minor refactors
Diffstat (limited to 'exe/Main.hs')
-rw-r--r--exe/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/exe/Main.hs b/exe/Main.hs
index 5e71066..6d14a28 100644
--- a/exe/Main.hs
+++ b/exe/Main.hs
@@ -10,5 +10,5 @@ main :: IO ()
main = do
cwd <- getCurrentDirectory
let parentDir = takeDirectory cwd
- initialState <- Daffm.loadDirInAppState cwd parentDir Daffm.mkEmptyAppState
+ initialState <- Daffm.loadDirToState cwd parentDir Daffm.mkEmptyAppState
void $ M.defaultMain Daffm.app initialState