| Maintainer | Brent Yorgey <byorgey@gmail.com> |
|---|---|
| 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
- _postid :: Maybe String
- _page :: Maybe Bool
- _publish :: Maybe Bool
- _htmlOnly :: 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)
- postid :: Lens' BlogLiterately (Maybe String)
- page :: Lens' BlogLiterately (Maybe Bool)
- publish :: Lens' BlogLiterately (Maybe Bool)
- htmlOnly :: Lens' BlogLiterately (Maybe Bool)
- xtra :: Lens' BlogLiterately [String]
- style' :: BlogLiterately -> [Char]
- hsHighlight' :: BlogLiterately -> HsHighlight
- otherHighlight' :: BlogLiterately -> Bool
- wplatex' :: BlogLiterately -> Bool
- math' :: BlogLiterately -> [Char]
- ghci' :: BlogLiterately -> Bool
- uploadImages' :: BlogLiterately -> Bool
- blogid' :: BlogLiterately -> [Char]
- profile' :: BlogLiterately -> [Char]
- blog' :: BlogLiterately -> [Char]
- user' :: BlogLiterately -> [Char]
- password' :: BlogLiterately -> [Char]
- title' :: BlogLiterately -> [Char]
- file' :: BlogLiterately -> [Char]
- postid' :: BlogLiterately -> [Char]
- page' :: BlogLiterately -> Bool
- publish' :: BlogLiterately -> Bool
- htmlOnly' :: 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 -> [Char]Source
wplatex' :: BlogLiterately -> BoolSource
math' :: BlogLiterately -> [Char]Source
ghci' :: BlogLiterately -> BoolSource
blogid' :: BlogLiterately -> [Char]Source
profile' :: BlogLiterately -> [Char]Source
blog' :: BlogLiterately -> [Char]Source
user' :: BlogLiterately -> [Char]Source
password' :: BlogLiterately -> [Char]Source
title' :: BlogLiterately -> [Char]Source
file' :: BlogLiterately -> [Char]Source
postid' :: BlogLiterately -> [Char]Source
page' :: BlogLiterately -> BoolSource
publish' :: BlogLiterately -> BoolSource