Copyright | (c) 2019-2020 Vaclav Svejcar |
---|---|
License | BSD-3-Clause |
Maintainer | vaclav.svejcar@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This module contains data types for Headroom.Command module.
Synopsis
- data Command
- newtype CommandGenOptions = CommandGenOptions {}
- data CommandInitOptions = CommandInitOptions {}
- data CommandRunOptions = CommandRunOptions {
- croRunMode :: Maybe RunMode
- croSourcePaths :: [FilePath]
- croExcludedPaths :: [Regex]
- croTemplateSource :: Maybe TemplateSource
- croVariables :: [Text]
- croDebug :: Bool
- croDryRun :: Bool
Documentation
Application command.
newtype CommandGenOptions Source #
Options for the gen
command.
CommandGenOptions | |
|
Instances
Show CommandGenOptions Source # | |
Defined in Headroom.Command.Types showsPrec :: Int -> CommandGenOptions -> ShowS # show :: CommandGenOptions -> String # showList :: [CommandGenOptions] -> ShowS # |
data CommandInitOptions Source #
Options for the init
command.
CommandInitOptions | |
|
Instances
Show CommandInitOptions Source # | |
Defined in Headroom.Command.Types showsPrec :: Int -> CommandInitOptions -> ShowS # show :: CommandInitOptions -> String # showList :: [CommandInitOptions] -> ShowS # | |
Has CommandInitOptions Env Source # | |
Defined in Headroom.Command.Init getter :: Env -> CommandInitOptions Source # modifier :: (CommandInitOptions -> CommandInitOptions) -> Env -> Env Source # hasLens :: Lens' Env CommandInitOptions Source # viewL :: MonadReader Env m => m CommandInitOptions Source # |
data CommandRunOptions Source #
Options for the run
command.
CommandRunOptions | |
|
Instances
Eq CommandRunOptions Source # | |
Defined in Headroom.Command.Types (==) :: CommandRunOptions -> CommandRunOptions -> Bool # (/=) :: CommandRunOptions -> CommandRunOptions -> Bool # | |
Show CommandRunOptions Source # | |
Defined in Headroom.Command.Types showsPrec :: Int -> CommandRunOptions -> ShowS # show :: CommandRunOptions -> String # showList :: [CommandRunOptions] -> ShowS # |