| Maintainer | Brent Yorgey <[email protected]> |
|---|---|
| Safe Haskell | None |
Text.BlogLiterately.Options
Description
Configuation and command-line options.
- data BlogLiterately = BlogLiterately {
- _style :: Maybe String
- _hsHighlight :: Maybe HsHighlight
- _otherHighlight :: Maybe Bool
- _wplatex :: Maybe Bool
- _math :: Maybe String
- _ghci :: Maybe Bool
- _uploadImages :: Maybe Bool
- _categories :: [String]
- _tags :: [String]
- _blogid :: Maybe String
- _profile :: Maybe String
- _blog :: Maybe String
- _user :: Maybe String
- _password :: Maybe String
- _title :: Maybe String
- _file :: Maybe String
- _format :: Maybe String
- _postid :: Maybe String
- _page :: Maybe Bool
- _publish :: Maybe Bool
- _htmlOnly :: Maybe Bool
- _citations :: Maybe Bool
- _xtra :: [String]
- blOpts :: BlogLiterately
- style :: Lens' BlogLiterately (Maybe String)
- hsHighlight :: Lens' BlogLiterately (Maybe HsHighlight)
- otherHighlight :: Lens' BlogLiterately (Maybe Bool)
- wplatex :: Lens' BlogLiterately (Maybe Bool)
- math :: Lens' BlogLiterately (Maybe String)
- ghci :: Lens' BlogLiterately (Maybe Bool)
- uploadImages :: Lens' BlogLiterately (Maybe Bool)
- categories :: Lens' BlogLiterately [String]
- tags :: Lens' BlogLiterately [String]
- blogid :: Lens' BlogLiterately (Maybe String)
- profile :: Lens' BlogLiterately (Maybe String)
- blog :: Lens' BlogLiterately (Maybe String)
- user :: Lens' BlogLiterately (Maybe String)
- password :: Lens' BlogLiterately (Maybe String)
- title :: Lens' BlogLiterately (Maybe String)
- file :: Lens' BlogLiterately (Maybe String)
- format :: Lens' BlogLiterately (Maybe String)
- postid :: Lens' BlogLiterately (Maybe String)
- page :: Lens' BlogLiterately (Maybe Bool)
- publish :: Lens' BlogLiterately (Maybe Bool)
- htmlOnly :: Lens' BlogLiterately (Maybe Bool)
- citations :: Lens' BlogLiterately (Maybe Bool)
- xtra :: Lens' BlogLiterately [String]
- style' :: BlogLiterately -> String
- hsHighlight' :: BlogLiterately -> HsHighlight
- otherHighlight' :: BlogLiterately -> Bool
- wplatex' :: BlogLiterately -> Bool
- math' :: BlogLiterately -> String
- ghci' :: BlogLiterately -> Bool
- uploadImages' :: BlogLiterately -> Bool
- blogid' :: BlogLiterately -> String
- profile' :: BlogLiterately -> String
- blog' :: BlogLiterately -> String
- user' :: BlogLiterately -> String
- password' :: BlogLiterately -> String
- title' :: BlogLiterately -> String
- file' :: BlogLiterately -> String
- format' :: BlogLiterately -> String
- postid' :: BlogLiterately -> String
- page' :: BlogLiterately -> Bool
- publish' :: BlogLiterately -> Bool
- htmlOnly' :: BlogLiterately -> Bool
- citations' :: BlogLiterately -> Bool
BlogLiterately options record
data BlogLiterately Source
Configuration record (and command-line options) for BlogLiterately.
Constructors
| BlogLiterately | |
Fields
| |
blOpts :: BlogLiteratelySource
Command-line configuration for use with cmdargs.
Lenses
We derive lenses for all the BlogLiterately fields using the
lens library.
Default accessors
Some convenient accessors that strip off the Maybe and return an appropriate default value.
style' :: BlogLiterately -> StringSource
wplatex' :: BlogLiterately -> BoolSource
math' :: BlogLiterately -> StringSource
ghci' :: BlogLiterately -> BoolSource
blog' :: BlogLiterately -> StringSource
user' :: BlogLiterately -> StringSource
title' :: BlogLiterately -> StringSource
file' :: BlogLiterately -> StringSource
page' :: BlogLiterately -> BoolSource
publish' :: BlogLiterately -> BoolSource