| Copyright | (c) 2019-2020 Vaclav Svejcar |
|---|---|
| License | BSD-3 |
| Maintainer | vaclav.svejcar@gmail.com |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | Haskell2010 |
Headroom.Command.Gen.Env
Description
Data types and instances for the Generator command environment.
Synopsis
- data GenMode
- newtype GenOptions = GenOptions {}
- data Env = Env {
- envLogFunc :: !LogFunc
- envGenOptions :: !GenOptions
Documentation
Represents what action should the Generator perform.
Constructors
| GenConfigFile | generate YAML config file stub |
| GenLicense Text | generate license header template |
Instances
newtype GenOptions Source #
Options for the Generator command.
Constructors
| GenOptions | |
Instances
| Show GenOptions Source # | |
Defined in Headroom.Command.Gen.Env Methods showsPrec :: Int -> GenOptions -> ShowS # show :: GenOptions -> String # showList :: [GenOptions] -> ShowS # | |
RIO Environment for the Generator command.
Constructors
| Env | |
Fields
| |