| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Web.Tweet.Exec
Description
Provides IO action that parses command line options and tweetInputs from stdin
- exec :: IO ()
- data Program = Program {}
- data Command
- = Timeline { }
- | SendInput {
- tweetInputs :: Maybe Int
- replyId :: Maybe String
- replyHandles :: Maybe [String]
- | Profile { }
- | Mentions { }
- | Markov {
- screenName :: String
- | Send { }
- | Sort {
- screenName :: String
- count :: Maybe Int
- | Delete { }
- | Fav { }
- | Unfav { }
- | Retweet { }
- | Unretweet { }
- | Follow {
- screenName :: String
- | Unfollow {
- screenName :: String
- | Block {
- screenName :: String
- | Unblock {
- screenName :: String
- | Dump {
- screenName :: String
Documentation
Data type for our program: one optional path to a credential file, (optionally) the number of tweetInputs to make, the id of the status you're replying to, and a list of users you wish to mention.
Data type for a command TODO add boolean option to show ids alongside tweets
Constructors
| Timeline | |
| SendInput | |
Fields
| |
| Profile | |
| Mentions | |
| Markov | |
Fields
| |
| Send | |
| Sort | |
Fields
| |
| Delete | |
| Fav | |
| Unfav | |
| Retweet | |
| Unretweet | |
| Follow | |
Fields
| |
| Unfollow | |
Fields
| |
| Block | |
Fields
| |
| Unblock | |
Fields
| |
| Dump | |
Fields
| |