Safe Haskell | None |
---|---|
Language | Haskell2010 |
Arguments data and parser.
Synopsis
- data Explain
- data ConfirmPlug
- data StdoutFlag
- data SkipAssertions
- data PlugCommand = PlugCommand {
- source :: String
- confirm :: ConfirmPlug
- newtype UnplugCommand = UnplugCommand String
- data ValidateCommand = ValidateCommand {}
- data Command
- data Arguments = Arguments {}
- stdoutFlag :: Lens' Arguments StdoutFlag
- mbDzenBinary :: Lens' Arguments (Maybe String)
- mbConfigDir :: Lens' Arguments (Maybe String)
- mbCommand :: Lens' Arguments (Maybe Command)
- explain :: Lens' Arguments Explain
- argParser :: Parser Arguments
- plugCommandParser :: Parser PlugCommand
- unplugCommandParser :: Parser UnplugCommand
- validateCommandParser :: Parser ValidateCommand
- argumentsParser :: ParserInfo Arguments
Flags
data ConfirmPlug Source #
Whether to skip confirmation when running plug
command.
Instances
Eq ConfirmPlug Source # | |
Defined in DzenDhall.Arguments (==) :: ConfirmPlug -> ConfirmPlug -> Bool # (/=) :: ConfirmPlug -> ConfirmPlug -> Bool # | |
Show ConfirmPlug Source # | |
Defined in DzenDhall.Arguments showsPrec :: Int -> ConfirmPlug -> ShowS # show :: ConfirmPlug -> String # showList :: [ConfirmPlug] -> ShowS # |
data StdoutFlag Source #
Instances
Eq StdoutFlag Source # | |
Defined in DzenDhall.Arguments (==) :: StdoutFlag -> StdoutFlag -> Bool # (/=) :: StdoutFlag -> StdoutFlag -> Bool # | |
Show StdoutFlag Source # | |
Defined in DzenDhall.Arguments showsPrec :: Int -> StdoutFlag -> ShowS # show :: StdoutFlag -> String # showList :: [StdoutFlag] -> ShowS # |
data SkipAssertions Source #
Instances
Eq SkipAssertions Source # | |
Defined in DzenDhall.Arguments (==) :: SkipAssertions -> SkipAssertions -> Bool # (/=) :: SkipAssertions -> SkipAssertions -> Bool # | |
Show SkipAssertions Source # | |
Defined in DzenDhall.Arguments showsPrec :: Int -> SkipAssertions -> ShowS # show :: SkipAssertions -> String # showList :: [SkipAssertions] -> ShowS # |
Main data
data PlugCommand Source #
Instances
Eq PlugCommand Source # | |
Defined in DzenDhall.Arguments (==) :: PlugCommand -> PlugCommand -> Bool # (/=) :: PlugCommand -> PlugCommand -> Bool # | |
Show PlugCommand Source # | |
Defined in DzenDhall.Arguments showsPrec :: Int -> PlugCommand -> ShowS # show :: PlugCommand -> String # showList :: [PlugCommand] -> ShowS # |
newtype UnplugCommand Source #
Instances
Eq UnplugCommand Source # | |
Defined in DzenDhall.Arguments (==) :: UnplugCommand -> UnplugCommand -> Bool # (/=) :: UnplugCommand -> UnplugCommand -> Bool # | |
Show UnplugCommand Source # | |
Defined in DzenDhall.Arguments showsPrec :: Int -> UnplugCommand -> ShowS # show :: UnplugCommand -> String # showList :: [UnplugCommand] -> ShowS # |
data ValidateCommand Source #
Instances
Eq ValidateCommand Source # | |
Defined in DzenDhall.Arguments (==) :: ValidateCommand -> ValidateCommand -> Bool # (/=) :: ValidateCommand -> ValidateCommand -> Bool # | |
Show ValidateCommand Source # | |
Defined in DzenDhall.Arguments showsPrec :: Int -> ValidateCommand -> ShowS # show :: ValidateCommand -> String # showList :: [ValidateCommand] -> ShowS # |
Arguments | |
|