isamert / scli

a simple terminal user interface for signal messenger (using signal-cli)
GNU General Public License v3.0
444 stars 40 forks source link

Allow creating new groups from scli #72

Open exquo opened 4 years ago

exquo commented 4 years ago

Signal-cli has the updateGroup command that allows creating a new group or updating an existing one. It is also possible to do this with signal-cli in daemon mode through dbus, with a updateGroup method call. So implementing this in scli should be a matter of adding the appropriate UI.

isamert commented 4 years ago

Like in #74, a :createGroup command may do the job. First argument should be the name of the group and the rest should be the members. But the problem is, writing all numbers might be hard for user. This can be solved with tab completion but I'm not quite sure how should it work. Here is what I have in my mind so far:

There is a problem with this solution though: there is no way to filter down the completions with space, it will only take last word into account and list completions based on that.

exquo commented 4 years ago

Yes, looks like picking UI for this is less straightforward than the one for renameContact. Some more options: