From 4e8e81b05afa4ba56d64ba714c78ba307f936076 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Wed, 8 Oct 2025 12:51:02 +0530 Subject: Refactor args parsing to module + docs update --- lib/Daffm/Types.hs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/Daffm/Types.hs') diff --git a/lib/Daffm/Types.hs b/lib/Daffm/Types.hs index b916c79..3fd7086 100644 --- a/lib/Daffm/Types.hs +++ b/lib/Daffm/Types.hs @@ -103,6 +103,13 @@ instance Semigroup Configuration where configTheme = configTheme a <> configTheme b } +data Args = Args + { argsDirOrFile :: Maybe Text.Text, + argsConfigFile :: Maybe FilePath, + argsHelp :: Bool + } + deriving (Show) + defaultConfiguration :: Configuration defaultConfiguration = Configuration -- cgit v1.3.1