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 {
- tweetInputs :: Maybe Int
- replyId :: Maybe String
- replyHandles :: Maybe [String]
- | Profile {
- count :: Maybe Int
- screenName :: String
- | 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
Timeline | |
SendInput | |
| |
Profile | |
| |
Mentions | |
Markov | |
| |
Send | |
Sort | |
| |
Delete | |
Fav | |
Unfav | |
Retweet | |
Unretweet | |
Follow | |
| |
Unfollow | |
| |
Block | |
| |
Unblock | |
| |
Dump | |
|