refactor: groups: make all commands use _patterns2groups().
refactor: imports order in cli/commands/__init__.py.

Drop a couple too.