2023-02-22 17:27:40 +03:00
|
|
|
module Commands.Dev.Geb
|
|
|
|
( module Commands.Dev.Geb,
|
|
|
|
module Commands.Dev.Geb.Options,
|
|
|
|
)
|
|
|
|
where
|
|
|
|
|
|
|
|
import Commands.Base
|
2023-02-28 20:49:44 +03:00
|
|
|
import Commands.Dev.Geb.Check as Infer
|
2023-02-22 17:27:40 +03:00
|
|
|
import Commands.Dev.Geb.Eval as Eval
|
|
|
|
import Commands.Dev.Geb.Infer as Check
|
|
|
|
import Commands.Dev.Geb.Options
|
|
|
|
import Commands.Dev.Geb.Read as Read
|
|
|
|
import Commands.Dev.Geb.Repl as Repl
|
|
|
|
|
|
|
|
runCommand :: forall r. (Members '[Embed IO, App] r) => GebCommand -> Sem r ()
|
|
|
|
runCommand = \case
|
|
|
|
GebCommandRepl opts -> Repl.runCommand opts
|
|
|
|
GebCommandEval opts -> Eval.runCommand opts
|
|
|
|
GebCommandRead opts -> Read.runCommand opts
|
|
|
|
GebCommandInfer opts -> Infer.runCommand opts
|
|
|
|
GebCommandCheck opts -> Check.runCommand opts
|