Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Two argument form for some commands #33

Open
zigdon opened this issue Aug 3, 2011 · 2 comments
Open

Two argument form for some commands #33

zigdon opened this issue Aug 3, 2011 · 2 comments
Labels

Comments

@zigdon
Copy link
Owner

zigdon commented Aug 3, 2011

Commands that take one argument, but apply to a particular account, can be improved to accept the account name to act on as the first argument

So that instead of doing
/twitter_switch AcctB
/twitter_follow Foo
/twitter_switch AcctA

Could just do
/twitter_follow AcctB Foo

This might apply to a number of commands, /twitter_follow and /twitter_unfollow are just examples.

@gedge
Copy link
Collaborator

gedge commented Oct 16, 2011

this is not so simple for some multi-argument commands, e.g. /tweet AccB is part of the tweet so I was wondering if another solution could be used

perhaps /twitter_follow -as accB Foo

that would enable us to get rid of existing (or stop creating new) *_as commands, which might be a bonus

thoughts?

@zigdon
Copy link
Owner Author

zigdon commented Oct 16, 2011

Yeah, accepting flags is one way, and that would be fine with me. Perhaps, for simpler use, we could follow the example of tail, and just do /twitter_follow -accB Foo?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants