Skip to content
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

Extend commands with named arguments #94

Open
netromdk opened this issue Feb 16, 2018 · 0 comments
Open

Extend commands with named arguments #94

netromdk opened this issue Feb 16, 2018 · 0 comments

Comments

@netromdk
Copy link
Owner

netromdk commented Feb 16, 2018

Currently you have to specify the channel and/or user IDs when posting and inviting, which can be found using channels.list and users.list. But it would be easier to do

chat.postmessage -cn general "text to send"

To which -cn|--channel-name is needed.

This functionality requires to get the list of channels and match their names, something that channels.list already does so either abstract it or do directly if simple enough.

@netromdk netromdk changed the title Extend chat commands with channel and user name arguments Extend chat commands with named arguments Feb 16, 2018
@netromdk netromdk changed the title Extend chat commands with named arguments Extend commands with named arguments Feb 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant