Copyright | (c) 2022 Dmitrii Kovanikov |
---|---|
License | MPL-2.0 |
Maintainer | Dmitrii Kovanikov <kovanikov@gmail.com> |
Stability | Experimental |
Portability | Portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Interative mode datatype and CLI parser.
Since: 0.0.0.0
Synopsis
Documentation
data InteractiveMode Source #
Interactive | Since: 0.0.0.0 |
NonInteractive | Since: 0.0.0.0 |
Instances
Show InteractiveMode Source # | Since: 0.0.0.0 |
Defined in Iris.Cli.Interactive showsPrec :: Int -> InteractiveMode -> ShowS # show :: InteractiveMode -> String # showList :: [InteractiveMode] -> ShowS # | |
Eq InteractiveMode Source # | Since: 0.0.0.0 |
Defined in Iris.Cli.Interactive (==) :: InteractiveMode -> InteractiveMode -> Bool # (/=) :: InteractiveMode -> InteractiveMode -> Bool # |
interactiveModeP :: Parser InteractiveMode Source #
A CLI option parser for switching to non-interactive mode if the flag is passed.
Since: 0.0.0.0