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

Manipulate chat handles via chat #787

Closed
christophermaier opened this issue Jun 21, 2016 · 1 comment
Closed

Manipulate chat handles via chat #787

christophermaier opened this issue Jun 21, 2016 · 1 comment
Assignees
Milestone

Comments

@christophermaier
Copy link
Collaborator

Cogctl has:

  • cogctl chat-handles - list everything
  • cogctl chat-handles create <user> <handle> <provider> - associate a handle with a user
  • cogctl chat-handles delete <user> <provider> - dissociate a handle from a user

For chat, we can do:

  • operable:user create-handle <cog_username> <chat_handle> - associate the handle with the user for the current chat provider
  • operable:user delete-handle <cog_username> - dissociate the handle from the user for the current chat provider

(Maybe use different terminology? link-handle? associate-handle? attach-handle?)

Seems like having this reside under the user command makes more sense than having a separate top-level command... this is probably what we should have done with cogctl to begin with.

We could add a "list handles" command as well, but with some refinements to the table command the same thing could be done with a pipeline based on operable:user list.

@christophermaier
Copy link
Collaborator Author

Slight tweak: we're going to go ahead and add a simple operable:user list-handles command

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