whitelist directly for groups

I like the groups function in pihole, which makes it easy to only whitelist entries for certain devices.
However when i add entries with

pihole -w

in the console, i have to manually set the groups for each entry.
It would be more convenient to have a group option for the console as well, for example:

pihole -w --group [groupname] [domain1] [domain2] ...

The database documentation provides some sqlite commands to directly add domains to groups.

https://docs.pi-hole.net/database/gravity/example/

For reference: