feat(command): Print a success message with the add/remove use occ command#44392
feat(command): Print a success message with the add/remove use occ command#44392zak39 wants to merge 1 commit intonextcloud:masterfrom
Conversation
They do. The return code is either 0 for success (as usual) and non zero otherwise. You can even configure your shell to show the exit code visually, or do |
|
Hi @susnux :) Yes, I know. But, I think it's not clear to some people. My suggestion is to clearly display a success message to confirm that the order is working. Like the |
|
Instead of just |
Yes, I think it's a good idea ! 👍 Should I wait for the developers Nextcloud or community to approve your suggestion ? |
|
I agree with @tcitworld, make sure the message is informative. |
Inform the end-user when he/she add or remove user from a group with the occ command. Signed-off-by: Baptiste Fotia <[email protected]>
8c1432b to
fd6b777
Compare
Summary
Before
When we add or remove an user from a group. The end-user doesn't know if the command was successful or not.
After
Now, the end-user is informed when he/she adds or removes an user from a group with the occ command.
TODO
php occ group:adduser <groupname> <uid>php occ group:remove <groupname> <uid>Checklist