Copyright | (c) 2019-2021 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
- = Run [FilePath] [Regex] Bool (Maybe LicenseType) [TemplateRef] [Text] (Maybe RunMode) Bool Bool
- | Gen Bool (Maybe (LicenseType, FileType))
- | Init LicenseType [FilePath]
- newtype CommandGenOptions = CommandGenOptions {}
- data CommandInitOptions = CommandInitOptions {}
- data CommandRunOptions = CommandRunOptions {}
Documentation
Application command.
Run [FilePath] [Regex] Bool (Maybe LicenseType) [TemplateRef] [Text] (Maybe RunMode) Bool Bool |
|
Gen Bool (Maybe (LicenseType, FileType)) |
|
Init LicenseType [FilePath] |
|
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 # |