|
|
@ -27,8 +27,7 @@ when isMainModule: |
|
|
|
twitterParams["thread"] = twitterParams["t"] |
|
|
|
|
|
|
|
if not (twitterParams.hasKey("user") and twitterParams.hasKey("thread")): |
|
|
|
echo twitterParams |
|
|
|
stderr.writeLine("Invalid Arguments.") |
|
|
|
stderr.writeLine("Invalid Arguments. Must provide both --user and --thread (or -u and -t). E.g. -u:foo -t:123") |
|
|
|
quit(1) |
|
|
|
|
|
|
|
for tweet in twitterParams["thread"].getThread(twitterParams["user"]): |
|
|
|