-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
feat(command): Print a success message with the add/remove use occ command #44392
base: master
Are you sure you want to change the base?
Conversation
Inform the end-user when he/she add or remove user from a group with the occ command. Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
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. |
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