1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-03 09:41:10 +03:00
juvix/app/Commands/Dev/Termination.hs
Jan Mas Rovira 138d9e545d
Logger (#2908)
1. Adds the `--log-level LOG_LEVEL` flag to the CLI. This flag can be
given `error`, `warn`, `info`, `progress`, `debug` as argument to filter
the logged messages.
2. Removes the `--only-errors` flag.
3. Adds the `--ide-end-error-char CHAR`, which receives a character as
an argument, which is appended to the end of error messages. This is
handy to facilitate parsing of errors messages from the ide. This
functionality was previously embeded in the old `--only-errors` flag.
2024-07-22 17:14:37 +02:00

12 lines
397 B
Haskell

module Commands.Dev.Termination where
import Commands.Base
import Commands.Dev.Termination.CallGraph qualified as CallGraph
import Commands.Dev.Termination.Calls qualified as Calls
import Commands.Dev.Termination.Options
runCommand :: (Members AppEffects r) => TerminationCommand -> Sem r ()
runCommand = \case
Calls opts -> Calls.runCommand opts
CallGraph opts -> CallGraph.runCommand opts