Safe Haskell | None |
---|---|
Language | Haskell2010 |
Provides IO action that parses command line options and tweetInputs from stdin
- exec :: IO ()
- data Program = Program {}
- data Command
- = Timeline { }
- | SendInput { }
- | Profile {
- count :: Maybe Int
- screenName'' :: Maybe String
- withReplies :: Bool
- withRetweets :: Bool
- | Mentions { }
- | Markov { }
- | Send { }
- | Sort {
- screenName' :: String
- count :: Maybe Int
- includeReplies :: Bool
- | Delete { }
- | Fav { }
- | Unfav { }
- | Retweet { }
- | Unretweet { }
- | List {
- count :: Maybe Int
- screenName' :: String
- | Follow { }
- | Unfollow { }
- | Block { }
- | Unblock { }
- | Mute { }
- | Unmute { }
- | Dump { }
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
Timeline | |
SendInput | |
Profile | |
| |
Mentions | |
Markov | |
Send | |
Sort | |
| |
Delete | |
Fav | |
Unfav | |
Retweet | |
Unretweet | |
List | |
| |
Follow | |
Unfollow | |
Block | |
Unblock | |
Mute | |
Unmute | |
Dump | |