Skip to content

Extend commands with named arguments #94

Open
@netromdk

Description

@netromdk

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions