-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: username selection command line option #10
Comments
Modifying the file " GemPath /gems/twurl-0.6.3/lib/twurl/oauth_client.rb" in following way (replace line 14 with the 3 lines) solves this issue:
|
I discovered the above patch on my own, as I need this feature also. Not having to change the default before invoking also means you can run two requests simultaneously without a race condition. |
I'm using this workaround and it works perfectly. It should get into the master |
+1 |
If it helps someone, I created this small ruby code that helps achieve the goal:
|
created #125 |
* make username option settable on requests #10 * update deprecated name
This is merged into master. |
Hi,
The two step process to ensure the correct username is used (in a script for example):
twurl set default username
twurl tweet -d status="why's that?"
Seems a bit awkward. Couldn't -u be used for this or that would be curly?
The text was updated successfully, but these errors were encountered: