This commit is contained in:
2026-05-15 16:52:07 -06:00
parent 5dcf44222f
commit 6dda8c4268
5 changed files with 81 additions and 10 deletions

View File

@@ -8,7 +8,10 @@ module Gyehoek.Options
import System.IO (Handle)
import Data.HashSet (HashSet)
import Options.Applicative
import System.FilePath
import qualified Data.HashSet as HS
import Control.Lens hiding (argument)
import GHC.Generics (Generic)
data Options = MkOptions
@@ -17,7 +20,11 @@ data Options = MkOptions
output :: Maybe FilePath
, sourceFiles :: HashSet FilePath
}
deriving (Show)
deriving (Show, Generic)
-- osPath :: ReadM _
-- osPath = eitherReader $
-- (_Left %~ show) . encodeUtf @(Either _)
-- parseDumpQBE =
-- optional $ strOption