diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-10-08 12:51:02 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-10-08 13:10:49 +0530 |
| commit | 4e8e81b05afa4ba56d64ba714c78ba307f936076 (patch) | |
| tree | 3d481ce541ea8d5b46cb9e3debcaf1db8a112415 /lib/Daffm/Types.hs | |
| parent | e173e1f105e72e06c6a3206b9b94f4f1da63b00f (diff) | |
| download | daffm-4e8e81b05afa4ba56d64ba714c78ba307f936076.tar.gz daffm-4e8e81b05afa4ba56d64ba714c78ba307f936076.zip | |
Refactor args parsing to module + docs update
Diffstat (limited to 'lib/Daffm/Types.hs')
| -rw-r--r-- | lib/Daffm/Types.hs | 7 |
1 files changed, 7 insertions, 0 deletions
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 |
